Commit 1e853b93 authored by Colin Ian King's avatar Colin Ian King Committed by Steve French
Browse files

cifsd: Fix a handful of spelling mistakes



There are several spelling mistakes in various ksmbd_err and
ksmbd_debug messages. Fix these.

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 36ba3866
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -325,7 +325,7 @@ int ndr_decode_v4_ntacl(struct ndr *n, struct xattr_ntacl *acl)

	ndr_read_bytes(n, acl->desc, 10);
	if (strncmp(acl->desc, "posix_acl", 9)) {
		ksmbd_err("Invalid acl desciption : %s\n", acl->desc);
		ksmbd_err("Invalid acl description : %s\n", acl->desc);
		return -EINVAL;
	}

+2 −2
Original line number Diff line number Diff line
@@ -2508,7 +2508,7 @@ int smb2_open(struct ksmbd_work *work)
	if (req->NameLength) {
		if ((req->CreateOptions & FILE_DIRECTORY_FILE_LE) &&
			*(char *)req->Buffer == '\\') {
			ksmbd_err("not allow directory name included leadning slash\n");
			ksmbd_err("not allow directory name included leading slash\n");
			rc = -EINVAL;
			goto err_out1;
		}
@@ -2636,7 +2636,7 @@ int smb2_open(struct ksmbd_work *work)
	}

	if (!(req->DesiredAccess & DESIRED_ACCESS_MASK)) {
		ksmbd_err("Invalid disired access : 0x%x\n",
		ksmbd_err("Invalid desired access : 0x%x\n",
			le32_to_cpu(req->DesiredAccess));
		rc = -EACCES;
		goto err_out1;
+1 −1
Original line number Diff line number Diff line
@@ -485,7 +485,7 @@ static int smb_direct_check_recvmsg(struct smb_direct_recvmsg *recvmsg)
		struct smb2_hdr *hdr = (struct smb2_hdr *) (recvmsg->packet
				+ le32_to_cpu(req->data_offset) - 4);
		ksmbd_debug(RDMA,
				"CreditGranted: %u, CreditRequested: %u, DataLength: %u, RemaingDataLength: %u, SMB: %x, Command: %u\n",
				"CreditGranted: %u, CreditRequested: %u, DataLength: %u, RemainingDataLength: %u, SMB: %x, Command: %u\n",
				le16_to_cpu(req->credits_granted),
				le16_to_cpu(req->credits_requested),
				req->data_length, req->remaining_data_length,