]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ocfs2: fix return value set in init_dlmfs_fs()
authorColy Li <coyli@suse.de>
Mon, 17 Nov 2008 04:38:22 +0000 (12:38 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 1 Dec 2008 22:46:55 +0000 (14:46 -0800)
commit07d9a3954a68764aefe16855bcd0f86deeb5c825
tree16721b539e67d78eee336f124a89b9a089175773
parenta2eee69b814854095ed835a6eb64b8efc220cd6a
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 <coyli@suse.de>
Acked-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dlm/dlmfs.c