aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorZhang Yi <[email protected]>2022-05-20 10:32:16 +0800
committerTheodore Ts'o <[email protected]>2022-06-16 11:50:48 -0400
commit15baa7dcadf1c4f0b4f752dc054191855ff2d78e (patch)
treebda8bd670d667dee6b198c320ca863e2abc73396 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent3103084afcf2341e12b0ee2c7b2ed570164f44a2 (diff)
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 <[email protected]> Signed-off-by: Zhang Yi <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Ritesh Harjani <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions