[PATCH] [trivial] fs: cifs: Fix typo in fs/cifs

From: Masanari Iida
Date: Mon Oct 22 2012 - 12:34:17 EST


Correct spelling typo in fs/cifs.

Signed-off-by: Masanari Iida <standby24x7@xxxxxxxxx>
---
fs/cifs/link.c | 2 +-
fs/cifs/readdir.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/cifs/link.c b/fs/cifs/link.c
index 51dc2fb..9f6c4c4 100644
--- a/fs/cifs/link.c
+++ b/fs/cifs/link.c
@@ -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);
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c
index b0f4a42..dc3433f 100644
--- a/fs/cifs/readdir.c
+++ b/fs/cifs/readdir.c
@@ -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;
}
--
1.8.0.rc3.16.g8ead1bf

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/