Skip to content

Commit ddee68c

Browse files
committed
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>
1 parent c443279 commit ddee68c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

fs/hfs/super.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,8 @@ static int hfs_init_fs_context(struct fs_context *fc)
404404
{
405405
struct hfs_sb_info *hsb;
406406

407+
pr_warn("The hfs filesystem is deprecated and scheduled to be removed from the kernel in 2025\n");
408+
407409
hsb = kzalloc(sizeof(struct hfs_sb_info), GFP_KERNEL);
408410
if (!hsb)
409411
return -ENOMEM;

fs/hfsplus/super.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,8 @@ static int hfsplus_init_fs_context(struct fs_context *fc)
656656
{
657657
struct hfsplus_sb_info *sbi;
658658

659+
pr_warn("The hfsplus filesystem is deprecated and scheduled to be removed from the kernel in 2025\n");
660+
659661
sbi = kzalloc(sizeof(struct hfsplus_sb_info), GFP_KERNEL);
660662
if (!sbi)
661663
return -ENOMEM;

0 commit comments

Comments
 (0)