diff options
author | Jan Kara <jack@suse.cz> | 2021-04-06 18:18:00 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-04-09 21:19:33 -0400 |
commit | 83fe6b18b8d04c6c849379005e1679bac9752466 (patch) | |
tree | 535b2010b4f2a1bc0333c7d67e570befd0bfc361 /fs/udf/symlink.c | |
parent | 3b1833e92baba135923af4a07e73fe6e54be5a2f (diff) | |
download | linux-83fe6b18b8d04c6c849379005e1679bac9752466.tar.gz linux-83fe6b18b8d04c6c849379005e1679bac9752466.tar.bz2 linux-83fe6b18b8d04c6c849379005e1679bac9752466.zip |
ext4: annotate data race in jbd2_journal_dirty_metadata()
Assertion checks in jbd2_journal_dirty_metadata() are known to be racy
but we don't want to be grabbing locks just for them. We thus recheck
them under b_state_lock only if it looks like they would fail. Annotate
the checks with data_race().
Cc: stable@kernel.org
Reported-by: Hao Sun <sunhao.th@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210406161804.20150-2-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/udf/symlink.c')
0 files changed, 0 insertions, 0 deletions