Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03e897a1 authored by Al Viro's avatar Al Viro
Browse files

logfs: missing cleanup on register_filesystem() failure



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 76bf09fc
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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: