diff options
author | David McCullough <davidm@snapgear.com> | 2005-10-17 16:43:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-17 17:03:57 -0700 |
commit | b65574fec5db1211bce7fc8bec7a2b32486e0670 (patch) | |
tree | eed63a503028c04db304c37969fa0c54e8c28dda /fs | |
parent | 5ee832dbc6770135ec8d63296af0a4374557bb79 (diff) | |
download | linux-b65574fec5db1211bce7fc8bec7a2b32486e0670.tar.gz linux-b65574fec5db1211bce7fc8bec7a2b32486e0670.tar.bz2 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.c | 1 |
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; |