projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ee832d
)
[PATCH] output of /proc/maps on nommu systems is incomplete
author
David McCullough
<davidm@snapgear.com>
Mon, 17 Oct 2005 23:43:29 +0000
(16:43 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 18 Oct 2005 00:03:57 +0000
(17:03 -0700)
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>
fs/proc/nommu.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/proc/nommu.c
b/fs/proc/nommu.c
index f3bf016d5ee3094d70534b7bee93d7bf4f6034e6..cff10ab1af630c69aa8d3a9af4f450834f120247 100644
(file)
--- 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;