Message ID | 20230922041215.13675-5-raven@themaw.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:910f:0:b0:403:3b70:6f57 with SMTP id r15csp93813vqg; Fri, 22 Sep 2023 22:21:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGW2M+8uWkiCobtzoBv05CHrUyHzqu88y+B/jGsWWss0GPm12YVU+Utnt0tETbAu6ctKcrv X-Received: by 2002:a05:6e02:1088:b0:34c:a166:9866 with SMTP id r8-20020a056e02108800b0034ca1669866mr1614610ilj.4.1695446512573; Fri, 22 Sep 2023 22:21:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695446512; cv=none; d=google.com; s=arc-20160816; b=bJVQ4ujr0HJWzzqP/B0aSjiuNx8xxPSNf+sUlrnq17ElqNWFdgtiniOnxy6zSCU1lV Yp8+g9TfVbdGwC7Uga8g4EZ5Hj1xxwjuL6ELdr6m0OmfCwBdW4l65QklqGK4K3ucmKy/ d5Z7zC9ixnWOPiP6Utfzd1dSnsYod2/wQk/vZfbS7VDvRB+D5tVH3MdH1g0rbmXy6eXx 4IBFX/CR4aDhxak91HNigohjsE0u+1ULbXUImd/pdaWmEmSvupS/lyqb9VqaPWRfawg5 A0uMW+npzf+Zc8cVibmz9d/q+P4j306yrtLkTzpBJaaVU2avXeeisHWo++yY0VpENv+s 8vaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=ryCXqbIXzg6S6gQUjvoPfXhRLeM6IuhwCFN5VCJzJFc=; fh=tOzwWtfY/Ihw0ZG9uDufqX7N1fYPvJMmg28cxm4BgX4=; b=eBBoG4suajCnYjQmvvdbm6lf+aMIEuBeVjXPPEviLd7XI181Lxnb3RsvSW8x2odNEo m9PUoeC8/1cngQsdv9MB3fEvMPPuMsIlJqK+prNvltb2gtLbdEq3u54OCZYeMs+IMxNR 9HlU9lHGYVf/0jAEQahumzB1aJBUElqXGyr8cPDfc/VFCvDLqQY2jIkSoPFUNYFvOBmd sYQfEVyrQXF2LMXAOlZo2KUvWITcHbnfofG0esUJ8tOFsrYhqFiG7VdCpudKxRQjy44h ez/uBmD8aJkxxyepoUopPZa1YARzlLZqygiJU6Mh4LE1wJgcEugFJ6r62gcOrO24xh3B 7NMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (expired) header.i=@themaw.net header.s=fm1 header.b=AQJ22VOo; dkim=neutral (expired) header.i=@messagingengine.com header.s=fm2 header.b=XzPj8XBt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id t185-20020a6381c2000000b0057744bb67dcsi5054083pgd.455.2023.09.22.22.21.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 22:21:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=neutral (expired) header.i=@themaw.net header.s=fm1 header.b=AQJ22VOo; dkim=neutral (expired) header.i=@messagingengine.com header.s=fm2 header.b=XzPj8XBt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id B1133837309A; Thu, 21 Sep 2023 21:13:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229935AbjIVENL (ORCPT <rfc822;chrisfriedt@gmail.com> + 30 others); Fri, 22 Sep 2023 00:13:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbjIVEND (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 22 Sep 2023 00:13:03 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 450ACCC3; Thu, 21 Sep 2023 21:12:49 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 49AB95C0251; Fri, 22 Sep 2023 00:12:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 22 Sep 2023 00:12:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=themaw.net; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1695355969; x= 1695442369; bh=ryCXqbIXzg6S6gQUjvoPfXhRLeM6IuhwCFN5VCJzJFc=; b=A QJ22VOomJC0WZVbO0CwEOPShSyigDPVMPrsRKLnaEDOcf3JSYevhn0tGuLgL9TvP EQQvYm5xA0MKGgoFyc4MNdmyBkXT9ssgx5Gz61Om//QySzFtwPQBs7J4Vq+TQGKE 9BfX3tZE7ubgRZSvo/GL+tJNcfz8ZiW5/DiifY6caxitzl55pMGwb/oSeW6vF99W iFQogkGgkb8OvdaDicWU15foke8vUcI8zFJPkWVPSvJMGmUhD93QRK4XKUIbj4kY qk9bMa3j5Arg15+NSyJMmF99e3/tikxwzTk1ypXobQ1MzXhpMHsE+XF+bEIEkEcy vawxBu5ILeLXOS5H8WfgA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1695355969; x= 1695442369; bh=ryCXqbIXzg6S6gQUjvoPfXhRLeM6IuhwCFN5VCJzJFc=; b=X zPj8XBtqSEcH359KhBDLDTJ4lr3B+eObBDUY4RUL1LwWdn53BwlNUQiGwpN2cFi/ EUIQ52MR5QF92UdJSxySibGePcy/xyIplfL6PLgJMOijM+z9AyG+k1mF+N72wTvp BZKd4cyUiuJtBUPfujAyEhVQR7RLeM5peY+HyXpYIVQ4lPHnjDlrZcw7nnYvxIpd JbiGc3Ps50s6akEdr7YBwyb1x0UbVuZe1s9l8aIEmCpK9nde/clAWW/GqyNFbPJT rIiy01WYrp5YzcaofTaolKrXhaDOnCZQ3TLBrE7+Q1Ba2ceMNyHQo8IhEQFLcal6 v3FlSzloinL89kPzGFrBA== X-ME-Sender: <xms:QRQNZSn3M1FH4-OF_Sn87XNM2bJrMhoRu4EFGOrn9340pzMMEGC7Hg> <xme:QRQNZZ0u8fL5m-EYq6aw10HDj_bnF30r-GeaT5YFJWarzoxWBTHPzvtPMXmUyx3gG hqBwVLNzTTn> X-ME-Received: <xmr:QRQNZQo_rjaP_zSHu3PSey0FeVB457h9GTcaWewHKsqzN_Ma0VAObxihEvz2g23F7Ip1JBlwiaoRu38uaIZnVoqSpnGLjPPa_nSTcVj66GOsJn55UmHSmg> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudekjedgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepkfgrnhcu mfgvnhhtuceorhgrvhgvnhesthhhvghmrgifrdhnvghtqeenucggtffrrghtthgvrhhnpe duleegueffgfehudeufedtffeiudfghfejgeehvdffgefgjeetvdfffeeihfdvveenucev lhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrrghvvghnse hthhgvmhgrfidrnhgvth X-ME-Proxy: <xmx:QRQNZWk_7-KbGL5vU0dhP2N-StqnViYMviDz5CMbvTC6HLliycbpJg> <xmx:QRQNZQ0a5lHsj1yb169g0kdHpAscoiudQrM7pmEMRD3sB5qvZSJS1w> <xmx:QRQNZdthQ2VgASEZv2MnS4tcEm5uBc9TYUa5DUWBK1Wr1Ku9vUTgMA> <xmx:QRQNZap4IRARN8JMss75mAbCP72wzxgpgFf6hVpUCHSYkCth68S56g> Feedback-ID: i31e841b0:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 22 Sep 2023 00:12:45 -0400 (EDT) From: Ian Kent <raven@themaw.net> To: Al Viro <viro@ZenIV.linux.org.uk>, Christian Brauner <brauner@kernel.org> Cc: autofs mailing list <autofs@vger.kernel.org>, linux-fsdevel <linux-fsdevel@vger.kernel.org>, Kernel Mailing List <linux-kernel@vger.kernel.org>, Bill O'Donnell <billodo@redhat.com>, Miklos Szeredi <miklos@szeredi.hu>, David Howells <dhowells@redhat.com>, Ian Kent <raven@themaw.net> Subject: [PATCH 4/8] autofs: reformat 0pt enum declaration Date: Fri, 22 Sep 2023 12:12:11 +0800 Message-ID: <20230922041215.13675-5-raven@themaw.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230922041215.13675-1-raven@themaw.net> References: <20230922041215.13675-1-raven@themaw.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 21 Sep 2023 21:13:24 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777804522134700663 X-GMAIL-MSGID: 1777804522134700663 |
Series |
autofs - convert to to use mount api
|
|
Commit Message
Ian Kent
Sept. 22, 2023, 4:12 a.m. UTC
The enum of options is only reformated in the patch to convert autofs
to use the mount API so do that now to simplify the conversion patch.
Signed-off-by: Ian Kent <raven@themaw.net>
---
fs/autofs/inode.c | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c index 992d6cb29707..d2b333c0682a 100644 --- a/fs/autofs/inode.c +++ b/fs/autofs/inode.c @@ -110,9 +110,20 @@ static const struct super_operations autofs_sops = { .evict_inode = autofs_evict_inode, }; -enum {Opt_err, Opt_fd, Opt_uid, Opt_gid, Opt_pgrp, Opt_minproto, Opt_maxproto, - Opt_indirect, Opt_direct, Opt_offset, Opt_strictexpire, - Opt_ignore}; +enum { + Opt_err, + Opt_direct, + Opt_fd, + Opt_gid, + Opt_ignore, + Opt_indirect, + Opt_maxproto, + Opt_minproto, + Opt_offset, + Opt_pgrp, + Opt_strictexpire, + Opt_uid, +}; static const match_table_t tokens = { {Opt_fd, "fd=%u"},