]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
NFSD: Clean up kdoc for nfsd_file_put_local()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 13 Jun 2025 20:07:47 +0000 (16:07 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 14 Jul 2025 16:46:44 +0000 (12:46 -0400)
Sparse reports that the synopsis of nfsd_file_put_local() does not
match its kdoc comment. Introduced by commit c25a89770d1f ("nfs_localio:
change nfsd_file_put_local() to take a pointer to __rcu pointer") .

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/filecache.c

index e108b6c705b4590a6d1f3d8cf75c02c4e193f0e3..732abf6b92a569336865985e61906e9263efeec7 100644 (file)
@@ -372,7 +372,7 @@ nfsd_file_put(struct nfsd_file *nf)
 
 /**
  * nfsd_file_put_local - put nfsd_file reference and arm nfsd_net_put in caller
- * @nf: nfsd_file of which to put the reference
+ * @pnf: nfsd_file of which to put the reference
  *
  * First save the associated net to return to caller, then put
  * the reference of the nfsd_file.