From: Younger Liu Date: Tue, 12 Nov 2013 23:07:04 +0000 (-0800) Subject: ocfs2: do not call brelse() if group_bh is not initialized in ocfs2_group_add() X-Git-Tag: v3.13-rc1~106^2~251 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8abaae8d85d4e1de0fcc81b733ba04a5d318ba7a;p=pandora-kernel.git ocfs2: do not call brelse() if group_bh is not initialized in ocfs2_group_add() If group_bh is not initialized, there is no need to release. This problem does not cause anything wrong, but the patch would make the code more logical. 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