diff options
author | Christoph Hellwig <hch@lst.de> | 2023-08-10 00:05:44 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-08-10 10:34:56 +0200 |
commit | 5f0fb2210bb34ecd3f7bfde0d8f0068b79b2e094 (patch) | |
tree | 231febc9d86ffda18f7797fb26fa1e7bb217a6ea | |
parent | ntfs3: rename put_ntfs ntfs3_free_sbi (diff) | |
download | linux-5f0fb2210bb34ecd3f7bfde0d8f0068b79b2e094.tar.xz 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>
-rw-r--r-- | fs/ntfs3/super.c | 2 |
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) |