Skip to content

Commit

Permalink
ntfs3: don't call sync_blockdev in ntfs_put_super
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Christian Brauner committed Aug 10, 2023
1 parent 126dbf8 commit 5f0fb22
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/ntfs3/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5f0fb22

Please sign in to comment.