summaryrefslogtreecommitdiffstats
path: root/fs/cramfs/inode.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-03-06 17:44:43 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-06 17:44:43 -0800
commit9888e6fa7b68d9c8cc2c162a90979825ab45150a (patch)
tree83e46fb733008fa753269d338f90ad255cc59f53 /fs/cramfs/inode.c
parentf716d8303345698728d9f8ce76a82a795a5be275 (diff)
downloadop-kernel-dev-9888e6fa7b68d9c8cc2c162a90979825ab45150a.zip
op-kernel-dev-9888e6fa7b68d9c8cc2c162a90979825ab45150a.tar.gz
slab: clarify and fix calculate_slab_order()
If we triggered the 'offslab_limit' test, we would return with cachep->gfporder incremented once too many times. This clarifies the logic somewhat, and fixes that bug. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/cramfs/inode.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud