jbd2: Annotate transaction start also for jbd2_journal_restart()
authorJan Kara <jack@suse.cz>
Tue, 18 Aug 2009 01:23:17 +0000 (21:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 18 Aug 2009 01:23:17 +0000 (21:23 -0400)
commit9599b0e597d810be9b8f759ea6e9619c4f983c5e
tree101bb8b6987cc9c8dddaaac9e7e94e19bbc97f25
parent553f9008939638335836eec834f4dea310c17eae
jbd2: Annotate transaction start also for jbd2_journal_restart()

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>
fs/jbd2/transaction.c