quota: Use inode->i_blkbits to get block bits
authorMingming Cao <cmm@us.ibm.com>
Wed, 14 Jan 2009 15:18:57 +0000 (16:18 +0100)
committerJan Kara <jack@suse.cz>
Thu, 26 Mar 2009 01:18:34 +0000 (02:18 +0100)
commit9900ba3487f9ba392db30e12d210f768a90abb13
treed74890b42f6ffae21908d8dc9bed34a40f066123
parent740d9dcd949a986c88886a591054a0cdb89ef669
quota: Use inode->i_blkbits to get block bits

Andrew has suggested to use inode->i_blkbits to get the block bits info,
rather than use super block's blockbits. That should be faster and emit
less code.

Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Jan Kara <jack@suse.cz>
include/linux/quotaops.h