summaryrefslogtreecommitdiff
path: root/fs/ntfs3
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-08-09 15:05:44 -0700
committerChristian Brauner <brauner@kernel.org>2023-08-10 10:34:56 +0200
commit5f0fb2210bb34ecd3f7bfde0d8f0068b79b2e094 (patch)
tree231febc9d86ffda18f7797fb26fa1e7bb217a6ea /fs/ntfs3
parent126dbf8a1b9cb2d764a314716a8ea98398a6fcb2 (diff)
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: 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>
Diffstat (limited to 'fs/ntfs3')
-rw-r--r--fs/ntfs3/super.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c
index bb985d3756d9..727138933a93 100644
--- a/fs/ntfs3/super.c
+++ b/fs/ntfs3/super.c
@@ -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)