2020-08-17 17:53:55

by Alex Dewar

[permalink] [raw]
Subject: [PATCH] nfsd: Fix typo in comment

Missing "is".

Signed-off-by: Alex Dewar <[email protected]>
---
Ahh I see. Is this better?
---
fs/nfsd/nfs4xdr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 259d5ad0e3f47..309a6d5f895ae 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -4828,7 +4828,7 @@ nfsd4_encode_listxattrs(struct nfsd4_compoundres *resp, __be32 nfserr,
slen = strlen(sp);

/*
- * Check if this a user. attribute, skip it if not.
+ * Check if this is a user. attribute, skip it if not.
*/
if (strncmp(sp, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN))
goto contloop;
--
2.28.0


2020-08-20 21:57:10

by J. Bruce Fields

[permalink] [raw]
Subject: Re: [PATCH] nfsd: Fix typo in comment

Applying, thanks.--b.

On Mon, Aug 17, 2020 at 06:51:26PM +0100, Alex Dewar wrote:
> Missing "is".
>
> Signed-off-by: Alex Dewar <[email protected]>
> ---
> Ahh I see. Is this better?
> ---
> fs/nfsd/nfs4xdr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
> index 259d5ad0e3f47..309a6d5f895ae 100644
> --- a/fs/nfsd/nfs4xdr.c
> +++ b/fs/nfsd/nfs4xdr.c
> @@ -4828,7 +4828,7 @@ nfsd4_encode_listxattrs(struct nfsd4_compoundres *resp, __be32 nfserr,
> slen = strlen(sp);
>
> /*
> - * Check if this a user. attribute, skip it if not.
> + * Check if this is a user. attribute, skip it if not.
> */
> if (strncmp(sp, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN))
> goto contloop;
> --
> 2.28.0