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

Use deactivate_locked_super

Found by Al Viro.
Signed-off-by: default avatarJoern Engel <joern@logfs.org>
parent 7db8064c
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment