]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use ext4_buffer_uptodate() in __ext4_get_inode_loc()
authorzhangyi (F) <yi.zhang@huawei.com>
Thu, 24 Sep 2020 07:33:34 +0000 (15:33 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 18 Oct 2020 14:37:14 +0000 (10:37 -0400)
commitea89680fe0e8ed8e44d7391c24b2f4c19634c3e4
tree016eda3d8cd30f3dddec3b1ee446de1a28cccb6c
parent4a0acd90ade9b3c44d72a504c7fd043fbe617e2b
ext4: use ext4_buffer_uptodate() in __ext4_get_inode_loc()

We have already introduced ext4_buffer_uptodate() to re-set the uptodate
bit on buffer which has been failed to write out to disk. Just remove
the redundant codes and switch to use ext4_buffer_uptodate() in
__ext4_get_inode_loc().

Signed-off-by: zhangyi (F) <yi.zhang@huawei.com>
Link: https://lore.kernel.org/r/20200924073337.861472-5-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c