]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commit8b0f165f790c897fa744e7fed6f0bfeb6eb6f494
tree6cc2fff4f731b93103184d3ef858b8a0f48310c6
parent8d8c1825709020c73b5e66f96c114f6a1f6461e7
ext4: remove code duplication in ext4_get_block_write_nolock()

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>
fs/ext4/inode.c