]> 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)
commitc2a068e6ea254bdc3fd5dddc0030551734c32b2d
tree4bd1f444e4f1b15cb9d18e94bf1dfb4749c1e5aa
parente7b0d2d2cc4c8b4bd56b31e42cfe24d1a1fabff1
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