aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2021-04-06 16:18:00 +0000
committerTheodore Ts'o <[email protected]>2021-04-10 01:19:33 +0000
commit83fe6b18b8d04c6c849379005e1679bac9752466 (patch)
tree535b2010b4f2a1bc0333c7d67e570befd0bfc361 /fs/ext4/fast_commit.c
parentext4: annotate data race in start_this_handle() (diff)
downloadkernel-83fe6b18b8d04c6c849379005e1679bac9752466.tar.gz
kernel-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: [email protected] Reported-by: Hao Sun <[email protected]> Signed-off-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions