jbd2 commit: fix transaction dropping
authorJan Kara <jack@suse.cz>
Mon, 16 Jul 2007 06:37:20 +0000 (23:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:34 +0000 (09:05 -0700)
commitf89b779508f457b2af05dd5ac82a425db4a56ee3
tree868baf5eb5cdb8ddce1b8e0512238b596c83c438
parentfe28e42b99173ba088b1d8448e53029e100bff27
jbd2 commit: fix transaction dropping

We have to check that also the second checkpoint list is non-empty before
dropping the transaction.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Chuck Ebbert <cebbert@redhat.com>
Cc: Kirill Korotaev <dev@openvz.org>
Cc: <linux-ext4@vger.kernel.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/jbd2/commit.c