diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2021-09-10 11:03:16 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-10-01 07:10:28 +0300 |
commit | f2c77973507fd116c3657df1dc048864a2b16a1c (patch) | |
tree | 66ee04744214e8e2e030e925b5d99c7613e50de3 /fs/ext4/extents.c | |
parent | 42cb447410d024e9d54139ae9c21ea132a8c384c (diff) | |
download | linux-f2c77973507fd116c3657df1dc048864a2b16a1c.tar.xz |
ext4: recheck buffer uptodate bit under buffer lock
Commit 8e33fadf945a ("ext4: remove an unnecessary if statement in
__ext4_get_inode_loc()") forget to recheck buffer's uptodate bit again
under buffer lock, which may overwrite the buffer if someone else have
already brought it uptodate and changed it.
Fixes: 8e33fadf945a ("ext4: remove an unnecessary if statement in __ext4_get_inode_loc()")
Cc: stable@kernel.org
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20210910080316.70421-1-yi.zhang@huawei.com
Diffstat (limited to 'fs/ext4/extents.c')
0 files changed, 0 insertions, 0 deletions