From patchwork Wed May 25 11:30:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Gruenbacher X-Patchwork-Id: 9135199 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C8E7A60221 for ; Wed, 25 May 2016 11:30:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA9D2282D4 for ; Wed, 25 May 2016 11:30:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF5B2282D8; Wed, 25 May 2016 11:30:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55092282D4 for ; Wed, 25 May 2016 11:30:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752791AbcEYLab (ORCPT ); Wed, 25 May 2016 07:30:31 -0400 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 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E3C3E821C3; Wed, 25 May 2016 11:30:30 +0000 (UTC) Received: from nux.redhat.com (vpn1-5-57.ams2.redhat.com [10.36.5.57]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u4PBUSHi027277; Wed, 25 May 2016 07:30:29 -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> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Wed, 25 May 2016 11:30:30 +0000 (UTC) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP For consistency with the other filesystems, rename the dentry argument to "unused" here. Signed-off-by: Andreas Gruenbacher Reviewed-by: Carlos Maiolino --- 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);