2022-08-02 19:10:58

by Enzo Matsumiya

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

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

Signed-off-by: Enzo Matsumiya <[email protected]>
---
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