diff options
author | Jan Kara <jack@suse.cz> | 2012-04-07 10:50:13 (GMT) |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2012-05-15 21:34:36 (GMT) |
commit | 1ce8486dcc00c1e095af8d155fa4451936b89013 (patch) | |
tree | 416fc385dc25993f0a968d1a78fb07dd0b79be34 /fs/nls | |
parent | 9754e39c7bc51328f145e933bfb0df47cd67b6e9 (diff) | |
download | linux-1ce8486dcc00c1e095af8d155fa4451936b89013.tar.xz |
jbd: 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 journal_commit_transaction() and journal_flush() can really race
with other log tail updates (e.g. someone doing journal_flush() with someone
running cleanup_journal_tail()). So protect all log tail updates with
j_checkpoint_mutex.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/nls')
0 files changed, 0 insertions, 0 deletions