diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-08-18 21:18:59 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-08-19 18:09:10 +0300 |
commit | ed9927533a64ae55fa5adc91bf7383ee12f5710d (patch) | |
tree | 923d1201a830f0dc148eaf3125b4e4179b1bd5bb /fs/nfsd/nfs4xdr.c | |
parent | b96811cd02466c6bb65c17639a96f2a766b7db9c (diff) | |
download | linux-ed9927533a64ae55fa5adc91bf7383ee12f5710d.tar.xz |
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>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index e08d890a1915..565d2169902c 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) |