diff options
author | Younger Liu <younger.liu@huawei.com> | 2013-11-12 15:07:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 12:09:01 +0900 |
commit | eedd40e1cad4217c9b7e2577debcdd0c48732cc3 (patch) | |
tree | 7392d157fe0a7d306e3b63e457529c3846497c41 /fs/fhandle.c | |
parent | 728b98059a2f19393f906ba4febc0f2d1d15f280 (diff) |
ocfs2: rollback transaction in ocfs2_group_add()
If ocfs2_journal_access_di() fails, group->bg_next_group should rollback.
Otherwise, there would be a inconsistency between group_bh and main_bm_bh.
Signed-off-by: Younger Liu <younger.liu@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Acked-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fhandle.c')
0 files changed, 0 insertions, 0 deletions