commit | 58796207cf09552706b0c3e0669f2ce52ea6cee1 | [log] [tgz] |
---|---|---|
author | Rui Xiang <[email protected]> | Tue Nov 12 15:06:55 2013 -0800 |
committer | Linus Torvalds <[email protected]> | Wed Nov 13 12:09:00 2013 +0900 |
tree | c3023177cd5414a1199da59ba8d52f74f7a64d32 | |
parent | 7391a294b861bf2c3b762dfdcf61b9c5f1bffa1f [diff] |
ocfs2: add necessary check in case sb_getblk() fails sb_getblk() may return an err, so add a check for bh. [[email protected]: also add a check after calling sb_getblk() in ocfs2_create_xattr_block()] Signed-off-by: Rui Xiang <[email protected]> Reviewed-by: Jie Liu <[email protected]> Reviewed-by: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> Cc: Joseph Qi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>