ntfs3: don't call sync_blockdev in ntfs_put_super
authorChristoph Hellwig <hch@lst.de>
Wed, 9 Aug 2023 22:05:44 +0000 (15:05 -0700)
committerChristian Brauner <brauner@kernel.org>
Thu, 10 Aug 2023 08:34:56 +0000 (10:34 +0200)
kill_block_super will call sync_blockdev just a tad later already.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Message-Id: <20230809220545.1308228-13-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ntfs3/super.c

index bb985d3..7271389 100644 (file)
@@ -629,8 +629,6 @@ static void ntfs_put_super(struct super_block *sb)
        put_mount_options(sbi->options);
        ntfs3_free_sbi(sbi);
        sb->s_fs_info = NULL;
-
-       sync_blockdev(sb->s_bdev);
 }
 
 static int ntfs_statfs(struct dentry *dentry, struct kstatfs *buf)