ocfs2: Commit transactions in error cases -v2
authorWengang Wang <wen.gang.wang@oracle.com>
Wed, 12 Oct 2011 07:22:15 +0000 (15:22 +0800)
committerJoel Becker <jlbec@evilplan.org>
Thu, 17 Nov 2011 09:46:47 +0000 (01:46 -0800)
There are three cases found that in error cases, journal transactions are not
committed nor aborted. We should take care of these case by committing the
transactions. Otherwise, there would left a journal handle which will lead to
, in same process context, the comming ocfs2_start_trans() gets wrong credits.

Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>

No differences found