From: David McCullough Date: Mon, 17 Oct 2005 23:43:29 +0000 (-0700) Subject: [PATCH] output of /proc/maps on nommu systems is incomplete X-Git-Tag: v2.6.14-rc5~26 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b65574fec5db1211bce7fc8bec7a2b32486e0670;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/proc/nommu.c b/fs/proc/nommu.c index f3bf016d5ee..cff10ab1af6 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;