jbd2: move lockdep instrumentation for jbd2 handles
authorJan Kara <jack@suse.cz>
Thu, 30 Jun 2016 15:30:21 +0000 (11:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 30 Jun 2016 15:30:21 +0000 (11:30 -0400)
commit7a4b188f0c0b49ed8ae41489494a9669ad7f1f8c
treee5d8354018750da84585d277be33537d23ab1bd8
parent78d962510796fdf39ccc5efd23d2eea2eca1ed99
jbd2: move lockdep instrumentation for jbd2 handles

The transaction the handle references is free to commit once we've
decremented t_updates counter. Move the lockdep instrumentation to that
place. Currently it was a bit later which did not really matter but
subsequent improvements to lockdep instrumentation would cause false
positives with it.

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