The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] hfs{plus}: add deprecation warning
@ 2025-04-15  7:51 Christian Brauner
  2025-04-15 10:08 ` Jan Kara
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Christian Brauner @ 2025-04-15  7:51 UTC (permalink / raw)
  To: linux-fsdevel
  Cc: Christian Brauner, David Sterba, Linus Torvalds, Matthew Wilcox,
	Jan Kara, Al Viro, Josef Bacik, Sandeen, linux-kernel

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     | 2 ++
 fs/hfsplus/super.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/fs/hfs/super.c b/fs/hfs/super.c
index fe09c2093a93..4413cd8feb9e 100644
--- a/fs/hfs/super.c
+++ b/fs/hfs/super.c
@@ -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;
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c
index 948b8aaee33e..58cff4b2a3b4 100644
--- a/fs/hfsplus/super.c
+++ b/fs/hfsplus/super.c
@@ -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;
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-04-23  6:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15  7:51 [PATCH] hfs{plus}: add deprecation warning Christian Brauner
2025-04-15 10:08 ` Jan Kara
2025-04-15 14:49 ` Darrick J. Wong
2025-04-16  6:27   ` Christian Brauner
2025-04-16 15:06     ` Darrick J. Wong
2025-04-16 17:56       ` Viacheslav Dubeyko
2025-04-17  9:29         ` John Paul Adrian Glaubitz
2025-04-17 18:10           ` Viacheslav Dubeyko
2025-04-17 18:14             ` John Paul Adrian Glaubitz
2025-04-17 21:44               ` Viacheslav Dubeyko
2025-04-23  4:24                 ` Yangtao Li
2025-04-23  4:38                   ` Viacheslav Dubeyko
2025-04-23  6:52                   ` John Paul Adrian Glaubitz
2025-04-17  8:59 ` John Paul Adrian Glaubitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox