diff mbox series

[CIFS] fix minor typos in comments and log messages

Message ID CAH2r5mvFSWgEgoyaEH5W7x55Nc1HP3udqDrrid_BdOyWm66RKQ@mail.gmail.com (mailing list archive)
State New, archived
Headers show
Series [CIFS] fix minor typos in comments and log messages | expand

Commit Message

Steve French May 30, 2020, 10:31 p.m. UTC
Fix four minor typos in comments and log messages

Comments

Aurélien Aptel June 2, 2020, 9:06 a.m. UTC | #1
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
diff mbox series

Patch

From 89dd6da563d67b4ce3076f4366cefd55c6168ede Mon Sep 17 00:00:00 2001
From: Steve French <stfrench@microsoft.com>
Date: Sat, 30 May 2020 17:29:50 -0500
Subject: [PATCH] cifs: fix minor typos in comments and log messages

Fix four minor typos in comments and log messages

Signed-off-by: Steve French <stfrench@microsoft.com>
---
 fs/cifs/sess.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c
index 3f8b43e77539..0ae25cc77fc0 100644
--- a/fs/cifs/sess.c
+++ b/fs/cifs/sess.c
@@ -122,7 +122,7 @@  int cifs_try_adding_channels(struct cifs_ses *ses)
 
 		tries++;
 		if (tries > 3*ses->chan_max) {
-			cifs_dbg(FYI, "too many attempt at opening channels (%d channels left to open)\n",
+			cifs_dbg(FYI, "too many channel open attempts (%d channels left to open)\n",
 				 left);
 			break;
 		}
@@ -200,7 +200,7 @@  cifs_ses_add_channel(struct cifs_ses *ses, struct cifs_server_iface *iface)
 	vol.UNC = unc;
 	vol.prepath = "";
 
-	/* Re-use same version as master connection */
+	/* Reuse same version as master connection */
 	vol.vals = ses->server->vals;
 	vol.ops = ses->server->ops;
 
@@ -263,7 +263,7 @@  cifs_ses_add_channel(struct cifs_ses *ses, struct cifs_server_iface *iface)
 		goto out;
 
 	/* success, put it on the list
-	 * XXX: sharing ses between 2 tcp server is not possible, the
+	 * XXX: sharing ses between 2 tcp servers is not possible, the
 	 * way "internal" linked lists works in linux makes element
 	 * only able to belong to one list
 	 *
@@ -972,7 +972,7 @@  sess_auth_lanman(struct sess_data *sess_data)
 
 		/* Calculate hash with password and copy into bcc_ptr.
 		 * Encryption Key (stored as in cryptkey) gets used if the
-		 * security mode bit in Negottiate Protocol response states
+		 * security mode bit in Negotiate Protocol response states
 		 * to use challenge/response method (i.e. Password bit is 1).
 		 */
 		rc = calc_lanman_hash(ses->password, ses->server->cryptkey,
-- 
2.25.1