From: Trond Myklebust Date: Sun, 18 Aug 2019 18:18:59 +0000 (-0400) Subject: nfsd: Fix the documentation for svcxdr_tmpalloc() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ed9927533a64ae55fa5adc91bf7383ee12f5710d;p=linux.git nfsd: Fix the documentation for svcxdr_tmpalloc() Signed-off-by: Trond Myklebust Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index e08d890a19155..565d2169902c9 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -212,10 +212,10 @@ static int zero_clientid(clientid_t *clid) /** * svcxdr_tmpalloc - allocate memory to be freed after compound processing * @argp: NFSv4 compound argument structure - * @p: pointer to be freed (with kfree()) + * @len: length of buffer to allocate * - * Marks @p to be freed when processing the compound operation - * described in @argp finishes. + * Allocates a buffer of size @len to be freed when processing the compound + * operation described in @argp finishes. */ static void * svcxdr_tmpalloc(struct nfsd4_compoundargs *argp, u32 len)