summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2005-10-18 01:43:29 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-18 02:03:57 +0200
commitb65574fec5db1211bce7fc8bec7a2b32486e0670 (patch)
treeeed63a503028c04db304c37969fa0c54e8c28dda /fs
parent[PATCH] rcu: keep rcu callback event counter (diff)
downloadlinux-b65574fec5db1211bce7fc8bec7a2b32486e0670.tar.xz
linux-b65574fec5db1211bce7fc8bec7a2b32486e0670.zip
[PATCH] output of /proc/maps on nommu systems is incomplete
Currently you do not get all the map entries on nommu systems because the start function doesn't index into the list using the value of "pos". Signed-off-by: David McCullough <davidm@snapgear.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/nommu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/nommu.c b/fs/proc/nommu.c
index f3bf016d5ee3..cff10ab1af63 100644
--- a/fs/proc/nommu.c
+++ b/fs/proc/nommu.c
@@ -91,6 +91,7 @@ static void *nommu_vma_list_start(struct seq_file *m, loff_t *_pos)
next = _rb;
break;
}
+ pos--;
}
return next;