switch nilfs2 to deactivate_locked_super()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 8 Aug 2009 20:52:02 +0000 (00:52 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Dec 2009 17:16:42 +0000 (12:16 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nilfs2/super.c

index 5403b3ef3a42bd745b80b2e550a7f57a7c3d2c48..8173faee31e64b9ceacc91d3169d806a4ce22eab 100644 (file)
@@ -1118,8 +1118,7 @@ nilfs_get_sb(struct file_system_type *fs_type, int flags,
        /* Abandoning the newly allocated superblock */
        mutex_unlock(&nilfs->ns_mount_mutex);
        put_nilfs(nilfs);
-       up_write(&s->s_umount);
-       deactivate_super(s);
+       deactivate_locked_super(s);
        /*
         * deactivate_super() invokes close_bdev_exclusive().
         * We must finish all post-cleaning before this call;