summaryrefslogtreecommitdiffstats
path: root/fs/seq_file.c
diff options
context:
space:
mode:
authorDenis ChengRq <crquan@gmail.com>2008-12-01 14:34:56 -0800
committerAl Viro <viro@zeniv.linux.org.uk>2008-12-31 18:07:43 -0500
commitc2acf7b90821785fe812cc0aa05148e5a1f84204 (patch)
treeb1fd2a481778c5432237125580b6fc2d2e5d9510 /fs/seq_file.c
parent6badd79bd002788aaec27b50a74ab69ef65ab8ee (diff)
downloadop-kernel-dev-c2acf7b90821785fe812cc0aa05148e5a1f84204.zip
op-kernel-dev-c2acf7b90821785fe812cc0aa05148e5a1f84204.tar.gz
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 <crquan@gmail.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud