summaryrefslogtreecommitdiff
path: root/net/socket.c
diff options
context:
space:
mode:
authorDenis ChengRq <crquan@gmail.com>2008-12-01 22:34:56 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2008-12-31 23:07:43 (GMT)
commitc2acf7b90821785fe812cc0aa05148e5a1f84204 (patch)
treeb1fd2a481778c5432237125580b6fc2d2e5d9510 /net/socket.c
parent6badd79bd002788aaec27b50a74ab69ef65ab8ee (diff)
downloadlinux-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 'net/socket.c')
0 files changed, 0 insertions, 0 deletions