Message ID | 20170802205126.23239-1-Anna.Schumaker@Netapp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-nfs-owner@kernel.org> 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 3CBE0602BC for <patchwork-linux-nfs@patchwork.kernel.org>; Wed, 2 Aug 2017 20:51:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CF3528825 for <patchwork-linux-nfs@patchwork.kernel.org>; Wed, 2 Aug 2017 20:51:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EBA928832; Wed, 2 Aug 2017 20:51:55 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 6132628825 for <patchwork-linux-nfs@patchwork.kernel.org>; Wed, 2 Aug 2017 20:51:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751991AbdHBUvw (ORCPT <rfc822;patchwork-linux-nfs@patchwork.kernel.org>); Wed, 2 Aug 2017 16:51:52 -0400 Received: from mx144.netapp.com ([216.240.21.25]:9888 "EHLO mx144.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752173AbdHBUvt (ORCPT <rfc822;linux-nfs@vger.kernel.org>); Wed, 2 Aug 2017 16:51:49 -0400 X-IronPort-AV: E=Sophos;i="5.41,313,1498546800"; d="scan'208";a="208719722" Received: from vmwexchts02-prd.hq.netapp.com ([10.122.105.23]) by mx144-out.netapp.com with ESMTP; 02 Aug 2017 13:27:41 -0700 Received: from VMWEXCCAS07-PRD.hq.netapp.com (10.122.105.25) by VMWEXCHTS02-PRD.hq.netapp.com (10.122.105.23) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 2 Aug 2017 13:51:47 -0700 Received: from NAM01-BN3-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS07-PRD.hq.netapp.com (10.122.105.25) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Wed, 2 Aug 2017 13:51:47 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Sw8peXn9Zw5GTTszIdSHenkMFUDHxMrDFJ3HBNe+D90=; b=do1UsJv0SxqLC1uAR+eINTLnU29c82I3Y7AvVT4hrKP7J3K4tsptKHAXcuy60dRFyChIXcTZbJt4k3rZ8U8pOoMSwwDbzcq2kZuxoANl7zMrOpa/Mo+wYJEVhKZUvFcwwv96WuipnNR83K4WN8y7iSxFkKUymsTwiW0iHoqRv1U= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anna.Schumaker@netapp.com; Received: from gouda.nowheycreamery.com.nowheycreamery.com (68.40.188.1) by CY4PR06MB2472.namprd06.prod.outlook.com (10.169.186.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Wed, 2 Aug 2017 20:51:45 +0000 From: Anna.Schumaker@Netapp.com To: <Trond.Myklebust@primarydata.com>, <linux-nfs@vger.kernel.org> Subject: [PATCH 1/2] NFS: Create NFS_ACCESS_* flags Date: Wed, 2 Aug 2017 16:51:25 -0400 Message-ID: <20170802205126.23239-1-Anna.Schumaker@Netapp.com> X-Mailer: git-send-email 2.13.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [68.40.188.1] X-ClientProxiedBy: MWHPR08CA0060.namprd08.prod.outlook.com (10.173.236.34) To CY4PR06MB2472.namprd06.prod.outlook.com (10.169.186.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 28e0eba6-4c78-4b39-0866-08d4d9e84a2f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:CY4PR06MB2472; X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 3:2EFNKG59zatWtW04Fdi6kohO56oPNYKfLYF8yk5JXDe4ZhjHFxQ9rLU7v+6sWKlTNUhlV7RIlCeS4WTTFfGm9j9QClUKNwNXLYHAriA/Uo7ir6t9AE/ljgwEm+UCSU53dMMmoO7KQ9RdkHZFvtuWXrKOnka+FcejHE6maDb+WjD6cuywnFgvEKWKFY2sStMySuuxZW763pUQYjlc+sjyE3mnSn4L8Ctbil4RV/QSfSNtmXsoxs4ARhd8bT6zOMDczZDm7W6ZQLOZ5a85O+AElqQdn0VM7hr6OdX1YSzpMhXDgWVoHkr8vUvcrHg2e/O4CjGQsyomiH25l3fxoNizk49tVIhP1bVA3Yx3/AtivXg0/PODdUObRo+Q0pnYiaKkMPL9mKYRHKraVSx6yLwfR1S1WztUecmz42/SoiS/g+udwlqbgrbUx7uylrmgcEK7GSx8SjxMWSglfytdC5kOUmWoArLzdBlsh5cQVAfR5ZPhOXMMYvxHMwuswOD04u3WZ77ITc6avH1U2ejwmZDMsA3YidH/IkK7ATsLxkT8w3MuFoU4SNtM8Yx/MvMS6Rt54hU4+YQpRFeiDC4S5Chwo5wUhqgXKkynOTWhjV1NxaFS3KPYvvLuNsJFBUfZ+JviW6mk+d/nUTV06ZOl1RKRhJ2XUi1u7QsRrGju7joqYMOfDQ4lXj2TnYAfDWSkOKlXMtQ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bqU/8WemCZ2y4R5zRnppZRmIEowMEThn0Rq 5k= X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 31:Jz7q5IHTP51WNOAEyN14dcxunqqyocGo+X23r0OV/q9qz8HZEOIsv4soDO+vVJ188GemwI8yMbGX1wYZzOaJF+LJA/oUTzpZkytp0/8qmww8mnTHyClMkkqgX3AYM0sAVJ3fRiA4NIse+QfzxpCsHuK2r0UwtAzGHDnSYQgOwqtDOfGHk6SBI0/FfRTOsKptvAPkalwKEPy0JOkL3MycjNDoEPsGnbhrSFbmkW3UdKcW1mw5kip3yPa0rDw+IQQMVFgRezJUCTgYp3S894ym+Bp0u5YcKSbcePSvHw6YXPnIHvp7ZLCBIK57SHzE0EgT4sdJ0CRpW0MA2/UjlamuBQH6X55b9PoofEMgmQqwmzasNJdd4bAemvW3ji/Bwg52I9b7E/jb6kqjA9eQZkzUWJoZT+jVmiCLj7oGh4v7iUuy1kBBZBJNN97cGq3VVbpvQOhQyMW0auwBWmdKH8MuCU4jGLr9CeyzOJCWieB/aE4Q5OE1upGJRgYH4ne20WL5fR7LMC1arKzoI4hwnT+yPIgFj8LrK+/PixwkqbDQrO/kth40JowXJBs72TkItJrEVGUeDuo8e6HxH24ehRVs9Q7Y6OpeFLXEB07dlCROZIEUkhYasBTh24hrnjS71bYvArL7ePsb+MyL++Z9qvy+mK3Bx5fxxK/iSH4Z3G7PY1cTk7WgWkL00duecH4Cw9NnpFuOZUjWUz0LP8sscF891A== X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 20:KjCvbPcljumYA8O4uE8Mf2i2drl20dcucTmAOSqwWywGKca3tv7Or3Yai0C+mnLnMON78QsTh5YAQpSYixPyn6K1ehZMNITL7XnLsqQzCMWmXz0rb+XWOfgcfJDizmirrBpPcK1u3/ojgEkuida3Y1whbKRJl72P9bjjf3en1N+ImW14NZbsPsLBXDT2TAWCZ2rUtSBamyJL/E9pAZufXARcJzlWPYS2uwN0ouBpGx/nd7So+l90VERND7pEAfnrbkUwlIyDH6lXZvcEKafhOYGeSsV7kR2XyKfn+gCV2dx7Nafg1v4S+mtcKwzCQX5tkHxmogHQITeWiU/J1uh96i18GNSz8ptORvZY8FPIbPoEmkQrY/ujlf457b8LZjELzMoon7o2RSvBbjySW+jAL7DFQTZUGNGpqhxS+r7ADL+FW/mI5BO13xVV1idwIt9KMkHMqQzItiA5Wdc+a43i+8dJ6JTW3Sv8qXGu0V/cy2Eo4BfKDOyH6rEkOZiSDBDO X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: <CY4PR06MB24724FE2A642BEFF7D8A4792F8B00@CY4PR06MB2472.namprd06.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(3002001)(93006095)(93001095)(6055026)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123564025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR06MB2472; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR06MB2472; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR06MB2472; 4:Wq8gKCb27Ztu1InR/mFM3ykdqrpNUXkU03sZin2PdC?= =?us-ascii?Q?8NhrYexbzhyPeaalNukunkLlaIzIz9XjXJ5C1cw1Cbudxs8lrVHgsokENmkB?= =?us-ascii?Q?wTT2h7YWwKWD7LiVVMvn0+07uHLTIdRd9HVHrTeq+fX83IE2z6kev86QJTLa?= =?us-ascii?Q?f2A2NEAQp0AIxSqWbZNlMCzJck5QX7237y4P2zeGEur26u5+OBruYfazEayh?= =?us-ascii?Q?YTy040DFN8RAYMuQxP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qzV/rS4vfF?= =?us-ascii?Q?LahKQsZgTTxbUcPDb1FubfNGiIxnLW10CENrmG+ndAKlTMfvKHQg=3D=3D?= X-Forefront-PRVS: 0387D64A71 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39840400002)(39410400002)(39450400003)(39850400002)(39400400002)(189002)(199003)(48376002)(478600001)(50466002)(8676002)(2906002)(5660300001)(68736007)(47776003)(25786009)(66066001)(50986999)(6486002)(81156014)(81166006)(1076002)(101416001)(5003940100001)(50226002)(3846002)(72206003)(42186005)(6512007)(9686003)(6116002)(110136004)(38730400002)(105586002)(106356001)(7736002)(7350300001)(97736004)(86362001)(6666003)(305945005)(85782001)(189998001)(53936002)(36756003)(85772001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR06MB2472; H:gouda.nowheycreamery.com.nowheycreamery.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: netapp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR06MB2472; 23:RQvp90C5E6nk2Ls5aiiOxXAFLrnIoQtKwnaKfWZAr?= =?us-ascii?Q?Ww3OVjL42Zm8eH6g80lF4XhzMETX7TOHgy+rMv0LSDEnahVb4sC2IWdQ4IM/?= =?us-ascii?Q?tRkgfGsBpczdUkd+PdpP9LCs7eXLjfGUKyuH3+nMnWtiapu/ynTvfncmvNIK?= =?us-ascii?Q?USpUWnBhO44czPACngstmrP1P0iT24Aykuy1ZF7F0fEs2ISqxoisYF0AV0Lv?= =?us-ascii?Q?OcIjn/ClC6ddoE7eqKjXfZ+FLeBGBgoEjSKHxXVer4WNkVxMcSHRGG4DmjmD?= =?us-ascii?Q?1U/wTF1DaFfsItrxmfAMCKATkb9cmPJvSy3EPcLlsdsPswrHe8ltvMWnQgYT?= =?us-ascii?Q?gxJk5uKD2ZIx9AMXcBy6V8D48qd1HTm/iJZMcEmaw4EqrZArUj06sBfipYIi?= =?us-ascii?Q?OnxRaJNNQl7V99t0obG7LrzBsF43WCoox822awpW2AyAXdJYiPFELBGrHl8A?= =?us-ascii?Q?mfBqKGKkoN98ZrlmAph/Y/wbvg31Atnz/pErlnmpt7/Q3T79njfEpN5ZQz2Y?= =?us-ascii?Q?L3i+X+btCsPLqruHG5oI+wdj06jSVoytmjdNCweriVyi043FkMZAgTgG7Yqf?= =?us-ascii?Q?57PZhVRLuxGhFxEMOIWmVvakGf3oFgS793oPOKizjQkrO3cdJeoDvi+qPlIt?= =?us-ascii?Q?FfnwJzkFaskryQJrr9BpiWC3R8hH3lUL+pKWDQW9fmpl+IsIJLg9j8GmaFY5?= =?us-ascii?Q?YoGkzUHbsxnc/9PaMXvAlAoCgo/xxxcAh1Xy++gW2p63EFH8Es4dCEXArgmJ?= =?us-ascii?Q?l4ABmt4AxOhCtp8D1pvtrKz5nq26bXzhOvPRsz7O1YmCFMIwNOLokBJj5DmO?= =?us-ascii?Q?NUHK6FuNmpa/hpVIeAW2g2sZa9GbgtXDAoFj1YIKskpbzWrjQnLZuykIhCNO?= =?us-ascii?Q?3hD8raiWc2Bo00uw4fIQqWmoDSVbQHoilLm8g5AIHAEfqmhNLCCYSALqveS2?= =?us-ascii?Q?4I2bpbPIA93Bf6WMad6XtsjnWFj9QGk9MlWH5lBS05r4ZwjMdAunq6C9YUz6?= =?us-ascii?Q?EABiKYYEcEtk924SATj4BYt41pd+M5Ed85Z1uO1ulPiOQ0+k831oo1uZBu9n?= =?us-ascii?Q?oZquUFw4UMZLzURh5MtyYPRC6/GysYXlgeog+RnZepVCp46AlgS+t7SlJezx?= =?us-ascii?Q?8vJLBZ9S2dpIN2DaPW9PJa923G4wnLMx6aS31AaNgEVgDKthiNgAuR3itzBI?= =?us-ascii?Q?61R/UYh46bbvJj6DimAXavLpJ4EueYLM3yd7SJQl1Qgw1GHRykswUpzoA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?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pWk7mYACZ+GRL?= =?us-ascii?Q?BUytPtwYLGkg7zuzVUO5q5oQB+ElyGOBIozPC3Noauli5d6chNULYwD53qx/?= =?us-ascii?Q?gvTcjMG6bevT7EQH2FNMYwk6ibsKZIeK3x7Zlu+EVj/RltFvUOISgEUDEaB6?= =?us-ascii?Q?s=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 5:7ZySH25WoEe9XXb/3QnmtYqH/VG58zWeryb7LLf0gIDkfD0Jmwaw0dM7oeqFYHwJIttvrWWOTokbzt+IEVXGCmPPB9XPyHVyyFapIba9/tvId1NHbrdrExNrjDmgAiIQhwd52OIa9jyr+Ftw4cCcxZTqdG51AIXjU3wYXu0n9xfdQT7BRtYbF9Q2sxZUm4LncZzhvbeahRgzENEUmSyBjaoqrA1cBTnJ9c3cwHhvZ/m/Lvi4f21yBDhf+9DLORnWsY+BjVeNh3Dun2g6OyTaQ2v0vJP86PIG0ocP0irgMYMf2Iuy+P8zPIXe54EeojzeAm0O+n+LoheQ1zuwzuyYHRZHz128zOGLQMzxcXpzCaVVYOlNwse/C9dNUEpnSDr7dL5UAXamaf8Suq8Z33eol+vMZEO/59pbRyyZncb3xdoby+kLI9RAI6hpzSIRCd/oPhYMlJmNAMNyp1CKSd8+jcAqvzY72Ar9JZp67p1AgrSv5mjrYn1Z2Su7UbD3Swek; 24:hrswBRWaOX7/Cx6lzvJAwBJ1G/Mw+IsuTOLY7XlUIBkk2Tvdf5ptSlFNv1oJmMuDtJgvZ5fpNp/n5bp1UFconV1Zms0lSescNF4AZWVidAI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 7:kHQqPlGgcMElRSh40U10hmB8o1omW4zZsm489crV0Il8xkgHZaskCiMpXWlI64dLpRs5uDHKB66Sba2M/vszJyqzBq968jqP73YMZxSLV47iKZtVlTH7L1Z1RbT0v2om4p12j0Vbt3hPJOtgEeDVhtg710wTk0wSvo/U6CzL4L+gcGPvLw/3tzVs1kuaqlS/TOLUjwErb8pTEGhml+9XR6IR5+b5XrTX6VYRnwksEz9vbboseJwwt4Z11zJEb+mTBiPVoUGhBaswS2YEiFAMUk1IHp+2EIrNHfGUlCvg9gnYgHVdhgy4Cjfl+atL0SBFXoI2l/sZvRGz+ZAZqHs7xNGukUSf1eCvfsFyrhXp2hmHQX/tLOxAfJTZ4evl9cKV3xa2YB/MU8DnuQeMzErDIrAPvDBqMrd6MJoQsy0kCP4JymCtYZ8Z0PulAsUMz15UjnP8NqjHYmUzJnhlN26QSrKwwBC1e2U1bfsasiE1Hs67ZxNKc/szOv3i6NFlBxYeZA3TgLd8zrML9ZApahRucIA4DCrQhLGyuauIvjHLkXY8kIMWg4515RvitmbtEbRlULpK2cZpBHrggFMUDjEkVuQg3GW2R2w/9SwGWN1D67eRzI+vfaIeNlRIamXA2450nCN0qvoRwvqgz5s9tn5BTzzXbYQxxssqutxgHyyPPkINa7BRJLOH+GMqqDx8acow0vDQRseupdqPDhKL5WiLpfkibPMpNYHiICXDlmb9O0+36q+yrN6XZxrjYQ/PTVsMgyZJVA0CugprLCs6S0/3Ce5rcJknu/StCnKoBlwqblk= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2017 20:51:45.8350 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR06MB2472 X-OriginatorOrg: netapp.com Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: <linux-nfs.vger.kernel.org> X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 3522b1249019..84de36be286d 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -2372,15 +2372,15 @@ void nfs_access_add_cache(struct inode *inode, struct nfs_access_entry *set) } EXPORT_SYMBOL_GPL(nfs_access_add_cache); -#define NFS_MAY_READ (NFS4_ACCESS_READ) -#define NFS_MAY_WRITE (NFS4_ACCESS_MODIFY | \ - NFS4_ACCESS_EXTEND | \ - NFS4_ACCESS_DELETE) -#define NFS_FILE_MAY_WRITE (NFS4_ACCESS_MODIFY | \ - NFS4_ACCESS_EXTEND) +#define NFS_MAY_READ (NFS_ACCESS_READ) +#define NFS_MAY_WRITE (NFS_ACCESS_MODIFY | \ + NFS_ACCESS_EXTEND | \ + NFS_ACCESS_DELETE) +#define NFS_FILE_MAY_WRITE (NFS_ACCESS_MODIFY | \ + NFS_ACCESS_EXTEND) #define NFS_DIR_MAY_WRITE NFS_MAY_WRITE -#define NFS_MAY_LOOKUP (NFS4_ACCESS_LOOKUP) -#define NFS_MAY_EXECUTE (NFS4_ACCESS_EXECUTE) +#define NFS_MAY_LOOKUP (NFS_ACCESS_LOOKUP) +#define NFS_MAY_EXECUTE (NFS_ACCESS_EXECUTE) static int nfs_access_calc_mask(u32 access_result, umode_t umode) { diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 5cc91d6381a3..d8f3879854a1 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -184,6 +184,16 @@ struct nfs_inode { }; /* + * Access bit flags + */ +#define NFS_ACCESS_READ 0x0001 +#define NFS_ACCESS_LOOKUP 0x0002 +#define NFS_ACCESS_MODIFY 0x0004 +#define NFS_ACCESS_EXTEND 0x0008 +#define NFS_ACCESS_DELETE 0x0010 +#define NFS_ACCESS_EXECUTE 0x0020 + +/* * Cache validity bit flags */ #define NFS_INO_INVALID_ATTR 0x0001 /* cached attrs are invalid */