diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2006-02-03 03:04:43 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-03 08:32:10 -0800 |
commit | e60e5c50aa5389db86e96fc52d02bc7db3d23f4a (patch) | |
tree | dcf9d09c7fed328628750023fecaf3eef4ad8624 /fs/block_dev.c | |
parent | 5b00226d4d3aa7969d84e16f857ea100465d9c98 (diff) | |
download | linux-e60e5c50aa5389db86e96fc52d02bc7db3d23f4a.tar.bz2 |
[PATCH] Trivial optimization of ll_rw_block()
The ll_rw_block() needs to get ref-count only if it submits a buffer(). This
patch avoids the needless get/put of ref-count.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions