commit | eedd40e1cad4217c9b7e2577debcdd0c48732cc3 | [log] [tgz] |
---|---|---|
author | Younger Liu <younger.liu@huawei.com> | Tue Nov 12 15:07:03 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Nov 13 12:09:01 2013 +0900 |
tree | 7392d157fe0a7d306e3b63e457529c3846497c41 | |
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>