From: Theodore Ts'o Date: Thu, 4 Sep 2014 22:09:22 +0000 (-0400) Subject: jbd2: don't call get_bh() before calling __jbd2_journal_remove_checkpoint() X-Git-Tag: fixes-against-v3.18-rc2~28^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc6e8d669cf5cb3ff84707c372c0a2a8a5e80845;p=pandora-kernel.git jbd2: don't call get_bh() before calling __jbd2_journal_remove_checkpoint() The __jbd2_journal_remove_checkpoint() doesn't require an elevated b_count; indeed, until the jh structure gets released by the call to jbd2_journal_put_journal_head(), the bh's b_count is elevated by virtue of the existence of the jh structure. Suggested-by: Jan Kara Reviewed-by: Jan Kara Signed-off-by: Theodore Ts'o --- Reading git-diff-tree failed