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

Commit 6f2e9e6a authored by Joern Engel's avatar Joern Engel
Browse files

Use deactivate_locked_super



Found by Al Viro.

Signed-off-by: default avatarJoern Engel <joern@logfs.org>
parent 7db8064c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -572,8 +572,7 @@ int logfs_get_sb_device(struct file_system_type *type, int flags,
	return 0;

err1:
	up_write(&sb->s_umount);
	deactivate_super(sb);
	deactivate_locked_super(sb);
	return err;
err0:
	kfree(super);