From: Jan Kara Date: Sat, 7 Apr 2012 10:50:13 +0000 (+0200) Subject: jbd: protect all log tail updates with j_checkpoint_mutex X-Git-Tag: v3.5-rc1~87^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ce8486dcc00c1e095af8d155fa4451936b89013;p=pandora-kernel.git 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 --- Reading git-diff-tree failed