nfsd: Fix the documentation for svcxdr_tmpalloc()

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
Trond Myklebust 2019-08-18 14:18:59 -04:00 committed by J. Bruce Fields
parent b96811cd02
commit ed9927533a
1 changed files with 3 additions and 3 deletions

View File

@ -212,10 +212,10 @@ static int zero_clientid(clientid_t *clid)
/** /**
* svcxdr_tmpalloc - allocate memory to be freed after compound processing * svcxdr_tmpalloc - allocate memory to be freed after compound processing
* @argp: NFSv4 compound argument structure * @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 * Allocates a buffer of size @len to be freed when processing the compound
* described in @argp finishes. * operation described in @argp finishes.
*/ */
static void * static void *
svcxdr_tmpalloc(struct nfsd4_compoundargs *argp, u32 len) svcxdr_tmpalloc(struct nfsd4_compoundargs *argp, u32 len)