diff options
author | Coly Li <coyli@suse.de> | 2008-11-17 12:38:22 +0800 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-12-01 14:46:55 -0800 |
commit | 07d9a3954a68764aefe16855bcd0f86deeb5c825 (patch) | |
tree | 16721b539e67d78eee336f124a89b9a089175773 /fs/romfs | |
parent | a2eee69b814854095ed835a6eb64b8efc220cd6a (diff) |
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>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions