Skip to content

Commit

Permalink
[PATCH] output of /proc/maps on nommu systems is incomplete
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David McCullough authored and Linus Torvalds committed Oct 18, 2005
1 parent 5ee832d commit b65574f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/proc/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ static void *nommu_vma_list_start(struct seq_file *m, loff_t *_pos)
next = _rb;
break;
}
pos--;
}

return next;
Expand Down

0 comments on commit b65574f

Please sign in to comment.