diff mbox series

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

Message ID 20220802190048.19881-6-ematsumiya@suse.de (mailing list archive)
State New, archived
Headers show
Series Rename "cifs" module to "smbfs" | expand

Commit Message

Enzo Matsumiya Aug. 2, 2022, 7 p.m. UTC
Also inform users about a possible removal of the existing aliases.

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

Patch

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: