From: Coly Li Date: Mon, 17 Nov 2008 04:38:22 +0000 (+0800) Subject: ocfs2: fix return value set in init_dlmfs_fs() X-Git-Tag: v2.6.28-rc7~25^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d9a3954a68764aefe16855bcd0f86deeb5c825;p=pandora-kernel.git ocfs2: fix return value set in init_dlmfs_fs() In init_dlmfs_fs(), if calling kmem_cache_create() failed, the code will use return value from calling bdi_init(). The correct behavior should be set status as -ENOMEM before going to "bail:". Signed-off-by: Coly Li Acked-by: Sunil Mushran Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed