mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
Use deactivate_locked_super
Found by Al Viro. Signed-off-by: Joern Engel <joern@logfs.org>
This commit is contained in:
parent
7db8064c17
commit
6f2e9e6a95
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user