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