hfs{plus}: add deprecation warning

Both the hfs and hfsplus filesystem have been orphaned since at least
2014, i.e., over 10 years. It's time to remove them from the kernel as
they're exhibiting more and more issues and no one is stepping up to
fixing them.

Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Christian Brauner 2025-04-15 09:45:38 +02:00
parent c443279a87
commit ddee68c499
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2
2 changed files with 4 additions and 0 deletions

View File

@ -404,6 +404,8 @@ static int hfs_init_fs_context(struct fs_context *fc)
{
struct hfs_sb_info *hsb;
pr_warn("The hfs filesystem is deprecated and scheduled to be removed from the kernel in 2025\n");
hsb = kzalloc(sizeof(struct hfs_sb_info), GFP_KERNEL);
if (!hsb)
return -ENOMEM;

View File

@ -656,6 +656,8 @@ static int hfsplus_init_fs_context(struct fs_context *fc)
{
struct hfsplus_sb_info *sbi;
pr_warn("The hfsplus filesystem is deprecated and scheduled to be removed from the kernel in 2025\n");
sbi = kzalloc(sizeof(struct hfsplus_sb_info), GFP_KERNEL);
if (!sbi)
return -ENOMEM;