[PATCH] Trivial optimization of ll_rw_block()
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Fri, 3 Feb 2006 11:04:43 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:10 +0000 (08:32 -0800)
commite60e5c50aa5389db86e96fc52d02bc7db3d23f4a
treedcf9d09c7fed328628750023fecaf3eef4ad8624
parent5b00226d4d3aa7969d84e16f857ea100465d9c98
[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>
fs/buffer.c