jbd commit: fix transaction dropping
commitfe28e42b99173ba088b1d8448e53029e100bff27
authorJan Kara <jack@suse.cz>
Mon, 16 Jul 2007 06:37:18 +0000 (15 23:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:34 +0000 (16 09:05 -0700)
treed9bb33ea624fb5bde8fa2e5be0db17848f108f85
parent09561f44c75bc462ae86590b9c089d01c4e94a74
jbd 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/jbd/commit.c