From: GUO Zihua <guozihua@huawei.com>
To: <hch@infradead.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH -next] freevxfs: Fix comment on vxfs_readdir
Date: Tue, 22 Aug 2023 09:40:10 +0800 [thread overview]
Message-ID: <20230822014010.26817-1-guozihua@huawei.com> (raw)
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
next reply other threads:[~2023-08-22 1:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-22 1:40 GUO Zihua [this message]
2023-08-22 2:53 ` Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230822014010.26817-1-guozihua@huawei.com \
--to=guozihua@huawei.com \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®