aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/base.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2008-02-08 07:18:32 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 12:22:24 -0500
commita56d3fc74c0178c5f41c48315604d62cff4e746d (patch)
treea6049be18c706090b8c65dc4f6ff9398f880199d /fs/proc/base.c
parentee992744ea53db0a90c986fd0a70fbbf91e7f8bd (diff)
seqfile convert proc_pid_statm
This conversion is just for code cleanliness, uniformity, and general safety. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Cc: Oleg Nesterov <oleg@tv-sign.ru> Cc: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r--fs/proc/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index f77818ecaa8a..9c3e548a6754 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -2281,7 +2281,7 @@ static const struct pid_entry tgid_base_stuff[] = {
2281#endif 2281#endif
2282 INF("cmdline", S_IRUGO, pid_cmdline), 2282 INF("cmdline", S_IRUGO, pid_cmdline),
2283 ONE("stat", S_IRUGO, tgid_stat), 2283 ONE("stat", S_IRUGO, tgid_stat),
2284 INF("statm", S_IRUGO, pid_statm), 2284 ONE("statm", S_IRUGO, pid_statm),
2285 REG("maps", S_IRUGO, maps), 2285 REG("maps", S_IRUGO, maps),
2286#ifdef CONFIG_NUMA 2286#ifdef CONFIG_NUMA
2287 REG("numa_maps", S_IRUGO, numa_maps), 2287 REG("numa_maps", S_IRUGO, numa_maps),
@@ -2612,7 +2612,7 @@ static const struct pid_entry tid_base_stuff[] = {
2612#endif 2612#endif
2613 INF("cmdline", S_IRUGO, pid_cmdline), 2613 INF("cmdline", S_IRUGO, pid_cmdline),
2614 ONE("stat", S_IRUGO, tid_stat), 2614 ONE("stat", S_IRUGO, tid_stat),
2615 INF("statm", S_IRUGO, pid_statm), 2615 ONE("statm", S_IRUGO, pid_statm),
2616 REG("maps", S_IRUGO, maps), 2616 REG("maps", S_IRUGO, maps),
2617#ifdef CONFIG_NUMA 2617#ifdef CONFIG_NUMA
2618 REG("numa_maps", S_IRUGO, numa_maps), 2618 REG("numa_maps", S_IRUGO, numa_maps),