mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 04:41:26 +00:00
logfs: missing cleanup on register_filesystem() failure
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
76bf09fcf7
commit
03e897a1ed
@ -626,7 +626,10 @@ static int __init logfs_init(void)
|
||||
if (ret)
|
||||
goto out2;
|
||||
|
||||
return register_filesystem(&logfs_fs_type);
|
||||
ret = register_filesystem(&logfs_fs_type);
|
||||
if (!ret)
|
||||
return 0;
|
||||
logfs_destroy_inode_cache();
|
||||
out2:
|
||||
logfs_compr_exit();
|
||||
out1:
|
||||
|
Loading…
Reference in New Issue
Block a user