freevxfs: Fix comment on vxfs_readdir
PATCH 1/1 freevxfs: Fix comment on vxfs_readdir
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 <[email protected]>
--- fs/freevxfs/vxfs_lookup.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
fs/freevxfs/vxfs_lookup.c +3 -4
@@ -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.
Signature · 1 line
2.17.1
Quoted 8 lines · GUO Zihua
As
vxfs_readdirnow switches toiterate_sharedinterface, 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 <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Thanks.
Quoted 24 lines
--- fs/freevxfs/vxfs_lookup.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)fs/freevxfs/vxfs_lookup.c +3
-4@@ -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.
Signature · 1 line
~Randy