]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerXiaowei.Hu <xiaowei.hu@oracle.com>
Wed, 29 Aug 2012 06:08:59 +0000 (14:08 +0800)
commit9e0368d92447de05229f95739d25e7324e7c2359
tree695efc2edea4017c72e7a10824e118244a1a0085
parent403053c364c3099fdc083d6632b9629e07d0415c
ocfs2: Commit transactions in error cases -v2

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>
(cherry picked from commit b8a0ae579fb8d9b21008ac386be08b9428902455)

Signed-off-by: Xiaowei.Hu <xiaowei.hu@oracle.com>
fs/ocfs2/alloc.c
fs/ocfs2/ioctl.c
fs/ocfs2/xattr.c