Commit a95161aa authored by Al Viro's avatar Al Viro

switch nilfs2 to deactivate_locked_super()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 3d1e4631
...@@ -1118,8 +1118,7 @@ nilfs_get_sb(struct file_system_type *fs_type, int flags, ...@@ -1118,8 +1118,7 @@ nilfs_get_sb(struct file_system_type *fs_type, int flags,
/* Abandoning the newly allocated superblock */ /* Abandoning the newly allocated superblock */
mutex_unlock(&nilfs->ns_mount_mutex); mutex_unlock(&nilfs->ns_mount_mutex);
put_nilfs(nilfs); put_nilfs(nilfs);
up_write(&s->s_umount); deactivate_locked_super(s);
deactivate_super(s);
/* /*
* deactivate_super() invokes close_bdev_exclusive(). * deactivate_super() invokes close_bdev_exclusive().
* We must finish all post-cleaning before this call; * We must finish all post-cleaning before this call;
......
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