summaryrefslogtreecommitdiffstats
path: root/crypto/camellia.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-03-13 15:43:04 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-03-13 15:43:04 -0400
commita78bb11d7acd525623c6a0c2ff4e213d527573fa (patch)
tree6e2e228cc51a2138046b499d6d9002f35f6d56d0 /crypto/camellia.c
parent24bcc89c7e7c64982e6192b4952a0a92379fc341 (diff)
downloadlinux-stable-a78bb11d7acd525623c6a0c2ff4e213d527573fa.tar.gz
linux-stable-a78bb11d7acd525623c6a0c2ff4e213d527573fa.tar.bz2
linux-stable-a78bb11d7acd525623c6a0c2ff4e213d527573fa.zip
jbd2: protect all log tail updates with j_checkpoint_mutex
There are some log tail updates that are not protected by j_checkpoint_mutex. Some of these are harmless because they happen during startup or shutdown but updates in jbd2_journal_commit_transaction() and jbd2_journal_flush() can really race with other log tail updates (e.g. someone doing jbd2_journal_flush() with someone running jbd2_cleanup_journal_tail()). So protect all log tail updates with j_checkpoint_mutex. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'crypto/camellia.c')
0 files changed, 0 insertions, 0 deletions