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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Enzo Matsumiya <ematsumiya@xxxxxxx>
---
 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




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux