ext4: remove code duplication in ext4_get_block_write_nolock()
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Thu, 8 Nov 2012 20:07:16 +0000 (15:07 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 8 Nov 2012 20:07:16 +0000 (15:07 -0500)
729f52c6be51013 introduced function ext4_get_block_write_nolock() that
is very similar to _ext4_get_block(). Eliminate code duplication
by passing different flags to _ext4_get_block()

Tested: xfs tests

Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found