summaryrefslogtreecommitdiffstats
path: root/fs/cramfs/inode.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2007-05-06 23:49:03 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 21:12:51 +0200
commit714b8171af9c930a59a0da8f6fe50518e70ab035 (patch)
treeb63f21c4efd165637c938267d7e542df18d93c99 /fs/cramfs/inode.c
parentmm: remove gcc workaround (diff)
downloadlinux-714b8171af9c930a59a0da8f6fe50518e70ab035.tar.xz
linux-714b8171af9c930a59a0da8f6fe50518e70ab035.zip
slab: ensure cache_alloc_refill terminates
If slab->inuse is corrupted, cache_alloc_refill can enter an infinite loop as detailed by Michael Richardson in the following post: <http://lkml.org/lkml/2007/2/16/292>. This adds a BUG_ON to catch those cases. Cc: Michael Richardson <mcr@sandelman.ca> Acked-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/cramfs/inode.c')
0 files changed, 0 insertions, 0 deletions