aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorZhang Yi <[email protected]>2021-08-26 13:04:08 +0000
committerTheodore Ts'o <[email protected]>2021-08-31 03:36:51 +0000
commit8e33fadf945a918c50d92fab6a769661df484156 (patch)
tree99a040598cd9e5b567257daf16654a08cf971ac7 /fs/ext4/fast_commit.c
parentext4: move inode eio simulation behind io completeion (diff)
downloadkernel-8e33fadf945a918c50d92fab6a769661df484156.tar.gz
kernel-8e33fadf945a918c50d92fab6a769661df484156.zip
ext4: remove an unnecessary if statement in __ext4_get_inode_loc()
The "if (!buffer_uptodate(bh))" hunk covered almost the whole code after getting buffer in __ext4_get_inode_loc() which seems unnecessary, remove it and switch to check ext4_buffer_uptodate(), it simplify code and make it more readable. Signed-off-by: Zhang Yi <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions