From patchwork Fri Mar 27 16:50:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Gr=C3=BCnbacher?= X-Patchwork-Id: 6110831 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E5984BF90F for ; Fri, 27 Mar 2015 17:06:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1518520251 for ; Fri, 27 Mar 2015 17:06:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 08DE1203AD for ; Fri, 27 Mar 2015 17:06:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964809AbbC0RF7 (ORCPT ); Fri, 27 Mar 2015 13:05:59 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:34344 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752855AbbC0Qvl (ORCPT ); Fri, 27 Mar 2015 12:51:41 -0400 Received: by wgs2 with SMTP id 2so105781141wgs.1; Fri, 27 Mar 2015 09:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references:in-reply-to :references; bh=mQBSW7gomkZI07AWYNBgE1F+3ET8jtWL2lXjM+KjWYQ=; b=QS+9zMkD65euBwNhxzb0JeOMzpQoBJBUdk5CxYODbTChIPxxnKm3EnjGoyZTJoj5TH NUoYr7t9p7j4/MEDgZDCgX9zHCKLJmhZ2AWQeoymCpyMqzrCgtTx2wuNOrZXL/EtgPhR mafH55s4WG/Q3B2kqU4cmM0/tMuiJ4Mk51NOGrgI+IhTe7WkPbH3ySrZwxtUpwHdeKp6 u7Z8f+Zy0DSy9o5QSyBoiDM1sSnrhhI6ZJAFbDAO/4gqZbhD0qZAUKd/GR44WuQ3dn1Q U6sYZqksRSPXrjhS+hagorWJrBNWTvcRMSVOg/Kf+nkKDF0ME53V22ycpWJzGR/LGE3X l4Ag== X-Received: by 10.194.108.137 with SMTP id hk9mr38084144wjb.112.1427475099975; Fri, 27 Mar 2015 09:51:39 -0700 (PDT) Received: from nuc.home.com (80-110-94-70.cgn.dynamic.surfer.at. [80.110.94.70]) by mx.google.com with ESMTPSA id j7sm3592306wix.4.2015.03.27.09.51.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Mar 2015 09:51:39 -0700 (PDT) From: Andreas Gruenbacher X-Google-Original-From: Andreas Gruenbacher To: "J. Bruce Fields" , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org Subject: [RFC 02/39] uapi: Remove kernel internal declaration Date: Fri, 27 Mar 2015 17:50:00 +0100 Message-Id: <063d443cc0ddc5db271cdaa6649443eb699736d0.1427471526.git.agruenba@redhat.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The enum nfs4_acl_whotype is only used in nfs4d's internal nfs4 acl representation. No longer expose it to user space. Signed-off-by: Andreas Gruenbacher --- include/linux/nfs4.h | 7 +++++++ include/uapi/linux/nfs4.h | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index ed43cb7..32201c2 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h @@ -16,6 +16,13 @@ #include #include +enum nfs4_acl_whotype { + NFS4_ACL_WHO_NAMED = 0, + NFS4_ACL_WHO_OWNER, + NFS4_ACL_WHO_GROUP, + NFS4_ACL_WHO_EVERYONE, +}; + struct nfs4_ace { uint32_t type; uint32_t flag; diff --git a/include/uapi/linux/nfs4.h b/include/uapi/linux/nfs4.h index 35f5f4c..adc0aff 100644 --- a/include/uapi/linux/nfs4.h +++ b/include/uapi/linux/nfs4.h @@ -162,13 +162,6 @@ */ #define NFS4_MAX_BACK_CHANNEL_OPS 2 -enum nfs4_acl_whotype { - NFS4_ACL_WHO_NAMED = 0, - NFS4_ACL_WHO_OWNER, - NFS4_ACL_WHO_GROUP, - NFS4_ACL_WHO_EVERYONE, -}; - #endif /* _UAPI_LINUX_NFS4_H */ /*