diff options
author | Denis ChengRq <crquan@gmail.com> | 2008-12-01 14:34:56 -0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-12-31 18:07:43 -0500 |
commit | c2acf7b90821785fe812cc0aa05148e5a1f84204 (patch) | |
tree | b1fd2a481778c5432237125580b6fc2d2e5d9510 /fs/Makefile | |
parent | 6badd79bd002788aaec27b50a74ab69ef65ab8ee (diff) | |
download | blackbird-op-linux-c2acf7b90821785fe812cc0aa05148e5a1f84204.tar.gz blackbird-op-linux-c2acf7b90821785fe812cc0aa05148e5a1f84204.zip |
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/Makefile')
0 files changed, 0 insertions, 0 deletions