jbd2: Annotate transaction start also for jbd2_journal_restart()
commit18623c3d1d26a30943cc1a97a99f385884f1ddca
authorJan Kara <jack@suse.cz>
Tue, 18 Aug 2009 01:23:17 +0000 (17 21:23 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Dec 2009 16:06:10 +0000 (14 08:06 -0800)
tree6098fc9a160932352bdc43f93a7a63fbd4d194b6
parent225ff23eb45e5ad1229c27b00b2a0729cc3d8b85
jbd2: Annotate transaction start also for jbd2_journal_restart()

(cherry picked from commit 9599b0e597d810be9b8f759ea6e9619c4f983c5e)

lockdep annotation for a transaction start has been at the end of
jbd2_journal_start(). But a transaction is also started from
jbd2_journal_restart(). Move the lockdep annotation to start_this_handle()
which covers both cases.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/jbd2/transaction.c