Commit 5f0fb221 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christian Brauner
Browse files

ntfs3: don't call sync_blockdev in ntfs_put_super



kill_block_super will call sync_blockdev just a tad later already.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChristian Brauner <brauner@kernel.org>
Message-Id: <20230809220545.1308228-13-hch@lst.de>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 126dbf8a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)