Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:58687 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751043AbcEYLab (ORCPT ); Wed, 25 May 2016 07:30:31 -0400 From: Andreas Gruenbacher To: Miklos Szeredi Cc: linux-fsdevel@vger.kernel.org, Andreas Gruenbacher Subject: [PATCH] fuse: Document that dentry is unused in getxattr Date: Wed, 25 May 2016 13:30:27 +0200 Message-Id: <1464175827-5546-1-git-send-email-agruenba@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: For consistency with the other filesystems, rename the dentry argument to "unused" here. Signed-off-by: Andreas Gruenbacher --- fs/fuse/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index b941905..5760e27 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c @@ -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); -- 2.5.5