From: Younger Liu Date: Tue, 12 Nov 2013 23:07:03 +0000 (-0800) Subject: ocfs2: rollback transaction in ocfs2_group_add() X-Git-Tag: v3.13-rc1~106^2~252 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eedd40e1cad4217c9b7e2577debcdd0c48732cc3;p=pandora-kernel.git 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 Cc: Mark Fasheh Acked-by: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed