]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
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().

[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