ntfs3: serve as alias for the legacy ntfs driver
authorChristian Brauner <brauner@kernel.org>
Mon, 25 Mar 2024 08:34:36 +0000 (09:34 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 16 Apr 2024 08:45:26 +0000 (10:45 +0200)
commit74871791ffa9562d43567c5ff2ae93def3f39f65
treee7a0a7cb26cabe7f8b79a53a6b4d2e4190eb5134
parent9617cd6f24b294552a817f80f5225431ef67b540
ntfs3: serve as alias for the legacy ntfs driver

Johan Hovold reported that removing the legacy ntfs driver broke boot
for him since his fstab uses the legacy ntfs driver to access firmware
from the original Windows partition.

Use ntfs3 as an alias for legacy ntfs if CONFIG_NTFS_FS is selected.
This is similar to how ext3 is treated.

Link: https://lore.kernel.org/r/Zf2zPf5TO5oYt3I3@hovoldconsulting.com
Link: https://lore.kernel.org/r/20240325-hinkriegen-zuziehen-d7e2c490427a@brauner
Fixes: 7ffa8f3d3023 ("fs: Remove NTFS classic")
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Johan Hovold <johan@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ntfs3/Kconfig
fs/ntfs3/super.c