]> www.infradead.org Git - users/hch/misc.git/commitdiff
hfs{plus}: add deprecation warning
authorChristian Brauner <brauner@kernel.org>
Tue, 15 Apr 2025 07:45:38 +0000 (09:45 +0200)
committerChristian Brauner <brauner@kernel.org>
Tue, 15 Apr 2025 08:28:35 +0000 (10:28 +0200)
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>
fs/hfs/super.c
fs/hfsplus/super.c

index fe09c2093a93d981c8d1341e14079b29c4d18137..4413cd8feb9e3aca4985641a16e74c943c4ea917 100644 (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;
index 948b8aaee33e3aa5822f3bf8adc9f0764405a445..58cff4b2a3b4d3e8aa6f56948a20507103ea4ae9 100644 (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;