]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2/refcounttree: add the missing NULL check of the return value of find_or_create_...
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Wed, 31 Jul 2013 20:53:29 +0000 (13:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 31 Jul 2013 21:41:02 +0000 (14:41 -0700)
commit1ac82c6b565c8be5664244e88f7dcf6eb12800af
tree4bd1f444e4f1b15cb9d18e94bf1dfb4749c1e5aa
parentf7c9de66a4b3c7b95ea204aa5a3c850f2216506a
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().

[akpm@linux-foundation.org: fix layout, per Joel]
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Acked-by: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/refcounttree.c