diff options
| author | David McCullough <[email protected]> | 2005-10-17 16:43:29 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-10-17 17:03:57 -0700 |
| commit | b65574fec5db1211bce7fc8bec7a2b32486e0670 (patch) | |
| tree | eed63a503028c04db304c37969fa0c54e8c28dda | |
| parent | 5ee832dbc6770135ec8d63296af0a4374557bb79 (diff) | |
[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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
| -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; |