Skip to content

Commit 3d4a394

Browse files
Yang Liamschuma-ntap
authored andcommitted
NFS: Fix nfs4_proc_get_locations() kernel-doc comment
Add the description of @server and @fhandle, and remove the excess @iNode in nfs4_proc_get_locations() kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. fs/nfs/nfs4proc.c:8219: warning: Function parameter or member 'server' not described in 'nfs4_proc_get_locations' fs/nfs/nfs4proc.c:8219: warning: Function parameter or member 'fhandle' not described in 'nfs4_proc_get_locations' fs/nfs/nfs4proc.c:8219: warning: Excess function parameter 'inode' description in 'nfs4_proc_get_locations' Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
1 parent a9c10b5 commit 3d4a394

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fs/nfs/nfs4proc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8032,7 +8032,8 @@ static int _nfs41_proc_get_locations(struct nfs_server *server,
80328032

80338033
/**
80348034
* nfs4_proc_get_locations - discover locations for a migrated FSID
8035-
* @inode: inode on FSID that is migrating
8035+
* @server: pointer to nfs_server to process
8036+
* @fhandle: pointer to the kernel NFS client file handle
80368037
* @locations: result of query
80378038
* @page: buffer
80388039
* @cred: credential to use for this operation

0 commit comments

Comments
 (0)