提交 6f2e9e6a 编写于 作者: J Joern Engel

Use deactivate_locked_super

Found by Al Viro.
Signed-off-by: NJoern Engel <joern@logfs.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册