[RFC PATCH v2 5/5] smbfs: show a warning about new name

Enzo Matsumiya ematsumiya at suse.de
Tue Aug 2 19:00:48 UTC 2022


Also inform users about a possible removal of the existing aliases.

Signed-off-by: Enzo Matsumiya <ematsumiya at suse.de>
---
 fs/smb/core.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fs/smb/core.c b/fs/smb/core.c
index 4bc019ef90e2..0d69e3f0eee9 100644
--- a/fs/smb/core.c
+++ b/fs/smb/core.c
@@ -1724,6 +1724,10 @@ init_cifs(void)
 		goto out_init_cifs_idmap;
 	}
 
+	pr_warn("This module has been renamed to \"smbfs.ko\" and its "
+		"current aliases (\"cifs\" and \"smb3\") might be removed "
+		"in a future kernel release.\n");
+
 	return 0;
 
 out_init_cifs_idmap:
-- 
2.35.3




More information about the samba-technical mailing list