aboutsummaryrefslogtreecommitdiff
path: root/fs/ntfs3/super.c
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2023-08-09 15:05:44 -0700
committerGravatar Christian Brauner <brauner@kernel.org> 2023-08-10 10:34:56 +0200
commit5f0fb2210bb34ecd3f7bfde0d8f0068b79b2e094 (patch)
tree231febc9d86ffda18f7797fb26fa1e7bb217a6ea /fs/ntfs3/super.c
parentntfs3: rename put_ntfs ntfs3_free_sbi (diff)
downloadlinux-5f0fb2210bb34ecd3f7bfde0d8f0068b79b2e094.tar.gz
linux-5f0fb2210bb34ecd3f7bfde0d8f0068b79b2e094.tar.bz2
linux-5f0fb2210bb34ecd3f7bfde0d8f0068b79b2e094.zip
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/super.c')
-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)