diff options
author | Denis ChengRq <crquan@gmail.com> | 2008-12-02 01:34:56 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-01-01 02:07:43 +0300 |
commit | c2acf7b90821785fe812cc0aa05148e5a1f84204 (patch) | |
tree | b1fd2a481778c5432237125580b6fc2d2e5d9510 /fs/notify/Kconfig | |
parent | 6badd79bd002788aaec27b50a74ab69ef65ab8ee (diff) | |
download | linux-c2acf7b90821785fe812cc0aa05148e5a1f84204.tar.xz |
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/notify/Kconfig')
0 files changed, 0 insertions, 0 deletions