From patchwork Wed May 25 11:21:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Gruenbacher X-Patchwork-Id: 9135189 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 A2382607D7 for ; Wed, 25 May 2016 11:21:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 935FE28164 for ; Wed, 25 May 2016 11:21:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85D8A282D4; Wed, 25 May 2016 11:21:13 +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 3A86C28164 for ; Wed, 25 May 2016 11:21:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754268AbcEYLVK (ORCPT ); Wed, 25 May 2016 07:21:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54322 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752308AbcEYLVJ (ORCPT ); Wed, 25 May 2016 07:21:09 -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 666ED6265A; Wed, 25 May 2016 11:21:09 +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 u4PBL5O2018672; Wed, 25 May 2016 07:21:06 -0400 From: Andreas Gruenbacher To: "Yan, Zheng" , Sage Weil , Ilya Dryomov Cc: Andreas Gruenbacher , ceph-devel@vger.kernel.org Subject: [PATCH] ceph: Document that dentry is unused in xattr ->get Date: Wed, 25 May 2016 13:21:05 +0200 Message-Id: <1464175265-1339-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.39]); Wed, 25 May 2016 11:21:09 +0000 (UTC) Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@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 Acked-by: Jeff Layton --- fs/ceph/xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ceph/xattr.c b/fs/ceph/xattr.c index 0d66722..223f567 100644 --- a/fs/ceph/xattr.c +++ b/fs/ceph/xattr.c @@ -1042,7 +1042,7 @@ out: } static int ceph_get_xattr_handler(const struct xattr_handler *handler, - struct dentry *dentry, struct inode *inode, + struct dentry *unused, struct inode *inode, const char *name, void *value, size_t size) { if (!ceph_is_valid_xattr(name))