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>

+4
+2
fs/hfs/super.c
··· 404 { 405 struct hfs_sb_info *hsb; 406 407 hsb = kzalloc(sizeof(struct hfs_sb_info), GFP_KERNEL); 408 if (!hsb) 409 return -ENOMEM;
··· 404 { 405 struct hfs_sb_info *hsb; 406 407 + pr_warn("The hfs filesystem is deprecated and scheduled to be removed from the kernel in 2025\n"); 408 + 409 hsb = kzalloc(sizeof(struct hfs_sb_info), GFP_KERNEL); 410 if (!hsb) 411 return -ENOMEM;
+2
fs/hfsplus/super.c
··· 656 { 657 struct hfsplus_sb_info *sbi; 658 659 sbi = kzalloc(sizeof(struct hfsplus_sb_info), GFP_KERNEL); 660 if (!sbi) 661 return -ENOMEM;
··· 656 { 657 struct hfsplus_sb_info *sbi; 658 659 + pr_warn("The hfsplus filesystem is deprecated and scheduled to be removed from the kernel in 2025\n"); 660 + 661 sbi = kzalloc(sizeof(struct hfsplus_sb_info), GFP_KERNEL); 662 if (!sbi) 663 return -ENOMEM;