aboutsummaryrefslogtreecommitdiff
path: root/fs/direct-io.c
diff options
context:
space:
mode:
authorBadari Pulavarty <pbadari@us.ibm.com>2006-12-22 01:06:23 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-23 15:49:53 -0800
commit4f1e627105e55e1e2ee6d6e9138912880c186dd0 (patch)
treed59aacd49db784c720fb5ee9c8830a9228ee8a93 /fs/direct-io.c
parentf102c840f7f72492a83c93fa65396fe0edcf1df6 (diff)
Fix for shmem_truncate_range() BUG_ON()
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> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions