git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba00840
)
[PATCH] Fix for shmem_truncate_range() BUG_ON()
author
Badari Pulavarty
<pbadari@us.ibm.com>
Fri, 22 Dec 2006 09:06:23 +0000
(
01:06
-0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:47 +0000
(08:55 -0800)
Ran into BUG() while doing madvise(REMOVE) testing. If we are punching a
hole into shared memory segment using madvise(REMOVE) and the entire hole
is below the indirect blocks, we hit following assert.
BUG_ON(limit <= SHMEM_NR_DIRECT);
Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/shmem.c
patch
|
blob
|
history
diff --cc
mm/shmem.c
Simple merge