fuse: Document that dentry is unused in getxattr
Subsystems (2)
PATCH 1/1 fuse: Document that dentry is unused in getxattr
For consistency with the other filesystems, rename the dentry argument to "unused" here.
Signed-off-by Andreas Gruenbacher <[email protected]>
--- fs/fuse/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fuse/dir.c +1 -1
@@ -1755,7 +1755,7 @@ static int fuse_setxattr(struct dentry *entry, const char *name,return err; } -static ssize_t fuse_getxattr (struct dentry *entry,struct inode *inode, +static ssize_t fuse_getxattr (struct dentry *unused,struct inode *inode,const char *name,void *value,size_t size) {struct fuse_conn *fc =get_fuse_conn (inode);
Signature · 1 line
2.5.5
Quoted 3 lines · Andreas Gruenbacher
For consistency with the other filesystems, rename the dentry argument to "unused" here.
Make sense, you can add:
Reviewed-by Carlos Maiolino <[email protected]>
Quoted 25 lines
Signed-off-by Andreas Gruenbacher <[email protected]>--- fs/fuse/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/fuse/dir.c +1
-1@@ -1755,7 +1755,7 @@ static int fuse_setxattr(struct dentry *entry, const char *name,return err; } -static ssize_t fuse_getxattr (struct dentry *entry,struct inode *inode, +static ssize_t fuse_getxattr (struct dentry *unused,struct inode *inode,const char *name,void *value,size_t size) {struct fuse_conn *fc =get_fuse_conn (inode);Signature · 6 lines
2.5.5 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Carlos