fs/ntfs3: Redesign legacy ntfs support

1) Make is_legacy_ntfs static inline.
2) Put legacy file_operations under #if IS_ENABLED(CONFIG_NTFS_FS).

Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
Konstantin Komarov 2024-06-17 15:03:21 +03:00
commit 1ff2e95660
No known key found for this signature in database
GPG key ID: A9B0331F832407B6
5 changed files with 23 additions and 18 deletions