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, ...@@ -572,8 +572,7 @@ int logfs_get_sb_device(struct file_system_type *type, int flags,
return 0; return 0;
err1: err1:
up_write(&sb->s_umount); deactivate_locked_super(sb);
deactivate_super(sb);
return err; return err;
err0: err0:
kfree(super); 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