From: Rui Xiang Date: Tue, 12 Nov 2013 23:06:55 +0000 (-0800) Subject: ocfs2: add necessary check in case sb_getblk() fails X-Git-Tag: v3.13-rc1~106^2~259 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58796207cf09552706b0c3e0669f2ce52ea6cee1;p=pandora-kernel.git ocfs2: add necessary check in case sb_getblk() fails sb_getblk() may return an err, so add a check for bh. [joseph.qi@huawei.com: also add a check after calling sb_getblk() in ocfs2_create_xattr_block()] Signed-off-by: Rui Xiang Reviewed-by: Jie Liu Reviewed-by: Mark Fasheh Cc: Joel Becker Cc: Joseph Qi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed