summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-05-02 00:22:21 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-05-02 00:22:21 +0000
commitee515425808ce2827e5a2738192d6cf26f9b93c8 (patch)
treedad3e0148b0f90566f19beca036987e689be696c
parent846fa0eecf8d1033bda97950cf713967fb679fe7 (diff)
parentaa1e702eee5866264fcc7ce6d1d34f09175ce8fd (diff)
Merge branch 'procfs-jkoenig-moved' into upstream-merged
-rw-r--r--procfs/process.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/procfs/process.c b/procfs/process.c
index 68eb50a0..c5ef7d8a 100644
--- a/procfs/process.c
+++ b/procfs/process.c
@@ -382,14 +382,6 @@ process_lookup_pid (struct ps_context *pc, pid_t pid, struct node **np)
return EIO;
}
- /* FIXME: have a separate proc_desc structure for each file, so this can be
- accessed in a more robust and straightforward way. */
- ((struct process_file_desc *) entries[2].hook)->mode = opt_stat_mode;
-
- /* FIXME: have a separate proc_desc structure for each file, so this can be
- accessed in a more robust and straightforward way. */
- ((struct process_file_desc *) entries[2].hook)->mode = opt_stat_mode;
-
*np = procfs_dir_make_node (&dir_ops, ps);
if (! *np)
return ENOMEM;