From: Denis ChengRq Date: Mon, 1 Dec 2008 22:34:56 +0000 (-0800) Subject: fs/block_dev.c: __read_mostly improvement and sb_is_blkdev_sb utilization X-Git-Tag: v2.6.29-rc1~549^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2acf7b90821785fe812cc0aa05148e5a1f84204;p=pandora-kernel.git fs/block_dev.c: __read_mostly improvement and sb_is_blkdev_sb utilization - iget5_locked in bdget really needs blockdev_superblock, instead of bd_mnt, so bd_mnt could be just a local variable; - blockdev_superblock really needs __read_mostly, while local var bd_mnt not; - make use of sb_is_blkdev_sb in bd_forget, instead of direct reference to blockdev_superblock. Signed-off-by: Denis ChengRq Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Al Viro --- Reading git-diff-tree failed