ocfs2/refcounttree: add the missing NULL check of the return value of find_or_create_...
authorGu Zheng <[email protected]>
Wed, 31 Jul 2013 20:53:29 +0000 (13:53 -0700)
committerLinus Torvalds <[email protected]>
Wed, 31 Jul 2013 21:41:02 +0000 (14:41 -0700)
commit62c610460d73fcfa5637cb497c6923ef1c42b12d
tree4bd1f444e4f1b15cb9d18e94bf1dfb4749c1e5aa
parent3964acd0dbec123aa0a621973a2a0580034b4788
ocfs2/refcounttree: add the missing NULL check of the return value of find_or_create_page()

Add the missing NULL check of the return value of find_or_create_page() in
function ocfs2_duplicate_clusters_by_page().

[[email protected]: fix layout, per Joel]
Signed-off-by: Gu Zheng <[email protected]>
Acked-by: Joel Becker <[email protected]>
Cc: Mark Fasheh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ocfs2/refcounttree.c