diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2022-05-20 04:32:16 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-06-16 17:50:48 +0200 |
commit | 15baa7dcadf1c4f0b4f752dc054191855ff2d78e (patch) | |
tree | bda8bd670d667dee6b198c320ca863e2abc73396 /scripts/Makefile.randstruct | |
parent | ext4, doc: remove unnecessary escaping (diff) | |
download | linux-15baa7dcadf1c4f0b4f752dc054191855ff2d78e.tar.xz linux-15baa7dcadf1c4f0b4f752dc054191855ff2d78e.zip |
ext4: fix warning when submitting superblock in ext4_commit_super()
We have already check the io_error and uptodate flag before submitting
the superblock buffer, and re-set the uptodate flag if it has been
failed to write out. But it was lockless and could be raced by another
ext4_commit_super(), and finally trigger '!uptodate' WARNING when
marking buffer dirty. Fix it by submit buffer directly.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ritesh Harjani <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20220520023216.3065073-1-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/Makefile.randstruct')
0 files changed, 0 insertions, 0 deletions