mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
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:
parent
b96811cd02
commit
ed9927533a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user