Skip to contentSkip to conversation

fs: cifs: Fix typo in fs/cifs

PATCH In review Masanari Iida 2 participants 2 messages Oct 22, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: cifs: Fix typo in fs/cifs

Correct spelling typo in fs/cifs.

---
 fs/cifs/link.c    | 2 +-
 fs/cifs/readdir.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
fs/cifs/link.c +1 -1
index 51dc2fb..9f6c4c4 100644
@@ -76,7 +76,7 @@ symlink_hash(unsigned int link_len, const char *link_str, u8 *md5_hash)
 	}
 	rc = crypto_shash_update(&sdescmd5->shash, link_str, link_len);
 	if (rc) {
-		cERROR(1, "%s: Could not update iwth link_str", __func__);
+		cERROR(1, "%s: Could not update with link_str", __func__);
 		goto symlink_hash_err;
 	}
 	rc = crypto_shash_final(&sdescmd5->shash, md5_hash);
fs/cifs/readdir.c +1 -1
index b0f4a42..dc3433f 100644
@@ -408,7 +408,7 @@ static void cifs_fill_dirent_std(struct cifs_dirent *de,
 		const FIND_FILE_STANDARD_INFO *info)
 {
 	de->name = &info->FileName[0];
-	/* one byte length, no endianess conversion */
+	/* one byte length, no endianness conversion */
 	de->namelen = info->FileNameLength;
 	de->resume_key = info->ResumeKey;
 }
Signature · 1 line
1.8.0.rc3.16.g8ead1bf

A message that is not in the archive (sent off-list or not yet received): CAH2r5mvofR7UDiDf0CW8Euk0645ZQDH9fC8cBCyDB82Ov7Vf7A@mail.gmail.com

#2 lore raw

Looks trivial/non-controversial - I will plan to merge this.

Quoted 48 lines · Masanari Iida
Quoted 36 lines

Correct spelling typo in fs/cifs.

---
 fs/cifs/link.c    | 2 +-
 fs/cifs/readdir.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
fs/cifs/link.c +1 -1
index 51dc2fb..9f6c4c4 100644
@@ -76,7 +76,7 @@ symlink_hash(unsigned int link_len, const char *link_str, u8 *md5_hash)
        }
        rc = crypto_shash_update(&sdescmd5->shash, link_str, link_len);
        if (rc) {
-               cERROR(1, "%s: Could not update iwth link_str", __func__);
+               cERROR(1, "%s: Could not update with link_str", __func__);
                goto symlink_hash_err;
        }
        rc = crypto_shash_final(&sdescmd5->shash, md5_hash);
fs/cifs/readdir.c +1 -2
index b0f4a42..dc3433f 100644
@@ -408,7 +408,7 @@ static void cifs_fill_dirent_std(struct cifs_dirent *de,
                const FIND_FILE_STANDARD_INFO *info)
 {
        de->name = &info->FileName[0];
-       /* one byte length, no endianess conversion */
+       /* one byte length, no endianness conversion */
        de->namelen = info->FileNameLength;
        de->resume_key = info->ResumeKey;
 }
--
Quoted 2 lines

1.8.0.rc3.16.g8ead1bf

--
Thanks,

Quoted 1 line

Steve

--
Thanks,

Steve