summaryrefslogtreecommitdiffstats
path: root/drivers/usb/atm
diff options
context:
space:
mode:
authorBadari Pulavarty <pbadari@us.ibm.com>2006-12-22 01:06:23 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-22 08:55:47 -0800
commit92a3d03aab912624cae799e5772a6eb2ef55083f (patch)
tree6bd85729918e1c56044ad5a1d084838444ab428e /drivers/usb/atm
parentba0084048ab785c2cb1d6cc2cccabe642a5b799a (diff)
downloadblackbird-op-linux-92a3d03aab912624cae799e5772a6eb2ef55083f.tar.gz
blackbird-op-linux-92a3d03aab912624cae799e5772a6eb2ef55083f.zip
[PATCH] 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> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb/atm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud