Re: [PATCH v6 05/16] ntfs: update super block operations
From: Christoph Hellwig
Date: Tue Feb 03 2026 - 00:57:33 EST
On Tue, Feb 03, 2026 at 07:01:51AM +0900, Namjae Jeon wrote:
> This patch updates the super block operations to support the new mount
> API, and enable full read-write support. It refactors the mount process
> to use fs_context, implements synchronization and shutdown operations.
>
> Key changes include:
> - Implements the new mount API by introducing context-based helpers
> (ntfs_init_fs_context(), ntfs_get_tree(), ntfs_reconfigure()) and
> migrating option parsing to fs_parser, supporting new options.
> - Adds ntfs_sync_fs() and ntfs_shutdown() to super_operations.
> - Updates ntfs_statfs() to provide statistics using atomic counters
> for free clusters and MFT records.
> - Introduces a background workqueue ntfs_wq for asynchronous free
> cluster calculation (ntfs_calc_free_cluster()).
> - Implements ntfs_write_volume_label() to allow changing the volume label.
Suggested tweak to the commit message:
Update the super block operations to support the new fs_context-based
mount API, full read-write support including ->sync_fs, and file system
shutdown support.
Update ntfs_statfs() to provide statistics using atomic counters for free
clusters and MFT records.
Introduce a background workqueue for asynchronous free cluster
calculation (XXXXX: please add a sentence here why is is useful / needed)
Implement ntfs_write_volume_label() to allow changing the volume label.
With that:
Reviewed-by: Christoph Hellwig <hch@xxxxxx>