diff mbox series

[-next] exportfs: remove kernel-doc warnings in exportfs

Message ID 20230731112300.213602-1-wangzhu9@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] exportfs: remove kernel-doc warnings in exportfs | expand

Commit Message

wangzhu July 31, 2023, 11:23 a.m. UTC
Remove kernel-doc warning in exportfs:

fs/exportfs/expfs.c:395: warning: Function parameter or member 'parent'
not described in 'exportfs_encode_inode_fh'

Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
---
 fs/exportfs/expfs.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Chuck Lever July 31, 2023, 1:26 p.m. UTC | #1
> On Jul 31, 2023, at 7:23 AM, Zhu Wang <wangzhu9@huawei.com> wrote:
> 
> Remove kernel-doc warning in exportfs:
> 
> fs/exportfs/expfs.c:395: warning: Function parameter or member 'parent'
> not described in 'exportfs_encode_inode_fh'
> 
> Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
> ---
> fs/exportfs/expfs.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/fs/exportfs/expfs.c b/fs/exportfs/expfs.c
> index 40e624cf7e92..5074e29f087c 100644
> --- a/fs/exportfs/expfs.c
> +++ b/fs/exportfs/expfs.c
> @@ -386,6 +386,7 @@ static int export_encode_fh(struct inode *inode, struct fid *fid,
>  * @inode:   the object to encode
>  * @fid:     where to store the file handle fragment
>  * @max_len: maximum length to store there
> + * @parent:  parent directory inode, if wanted
>  * @flags:   properties of the requested file handle
>  *
>  * Returns an enum fid_type or a negative errno.
> -- 
> 2.17.1
> 

Applied to nfsd-next. Thanks!


--
Chuck Lever
diff mbox series

Patch

diff --git a/fs/exportfs/expfs.c b/fs/exportfs/expfs.c
index 40e624cf7e92..5074e29f087c 100644
--- a/fs/exportfs/expfs.c
+++ b/fs/exportfs/expfs.c
@@ -386,6 +386,7 @@  static int export_encode_fh(struct inode *inode, struct fid *fid,
  * @inode:   the object to encode
  * @fid:     where to store the file handle fragment
  * @max_len: maximum length to store there
+ * @parent:  parent directory inode, if wanted
  * @flags:   properties of the requested file handle
  *
  * Returns an enum fid_type or a negative errno.