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

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
...@@ -629,8 +629,6 @@ static void ntfs_put_super(struct super_block *sb) ...@@ -629,8 +629,6 @@ static void ntfs_put_super(struct super_block *sb)
put_mount_options(sbi->options); put_mount_options(sbi->options);
ntfs3_free_sbi(sbi); ntfs3_free_sbi(sbi);
sb->s_fs_info = NULL; sb->s_fs_info = NULL;
sync_blockdev(sb->s_bdev);
} }
static int ntfs_statfs(struct dentry *dentry, struct kstatfs *buf) static int ntfs_statfs(struct dentry *dentry, struct kstatfs *buf)
......
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