Skip to content

Commit

Permalink
hfs{plus}: add deprecation warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Brauner committed Apr 15, 2025
1 parent c443279 commit ddee68c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/hfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions fs/hfsplus/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ddee68c

Please sign in to comment.