lkml.org 
[lkml]   [2023]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] freevxfs: Fix comment on vxfs_readdir
Date
As vxfs_readdir now switches to iterate_shared interface, the parameter
of the function is changed. However, the comment of has not been
updated.

This patch updates function doc to reflect this change.

Fixes: 9b5d5a170781 ("[readdir] convert freevxfs")
Signed-off-by: GUO Zihua <guozihua@huawei.com>
---
fs/freevxfs/vxfs_lookup.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/fs/freevxfs/vxfs_lookup.c b/fs/freevxfs/vxfs_lookup.c
index f04ba2ed1e1a..53cbb7209324 100644
--- a/fs/freevxfs/vxfs_lookup.c
+++ b/fs/freevxfs/vxfs_lookup.c
@@ -177,12 +177,11 @@ vxfs_lookup(struct inode *dip, struct dentry *dp, unsigned int flags)
/**
* vxfs_readdir - read a directory
* @fp: the directory to read
- * @retp: return buffer
- * @filler: filldir callback
+ * @ctx: Dir context
*
* Description:
- * vxfs_readdir fills @retp with directory entries from @fp
- * using the VFS supplied callback @filler.
+ * vxfs_readdir emits directory entries from @fp using the
+ * VFS supplied @ctx.
*
* Returns:
* Zero.
--
2.17.1
\
 
 \ /
  Last update: 2023-08-22 03:40    [W:0.066 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site