Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2322196rdb; Thu, 21 Sep 2023 15:27:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE38GtWcxMHfUKASfiQzzhIkT1VrDC0TxNCuBrP0Qrrog64A/CnRdG9x2bn68IKpkOhvrNd X-Received: by 2002:a17:90b:4d84:b0:274:77b3:64d0 with SMTP id oj4-20020a17090b4d8400b0027477b364d0mr1290567pjb.17.1695335255826; Thu, 21 Sep 2023 15:27:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695335255; cv=none; d=google.com; s=arc-20160816; b=xmyXqrfha9cn2vbsSUObz90pMN4U6IBIO2Sg3cUC1hPtYY8pJxWDWGrJ76g9e5aHTp YSGlZSl5F1sM8TbHz/yawlH6EU+P3vQYI1qHuA5RgXbBS5kibW3LGinvLI3D5MT5xH1U 1DEyEtJi8ivBnmVkAGY/roT96oUUf2iiMacmZiaawuH3jqKK4WIbTm1rCzFHdHj4LUfQ lr81u/cFCySHdmlf5fQv5lVjO/5W8BDJ0ND1BEi5GOfzEeULAoaIB24AHKuLmTkdNXPi u156RArKuPZANBTc34TU3gooTIoAmYcYFGZaFMzV8qoYqXrBcnpFjVjsASLP2aql1BVg 2rEg== 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 :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject; bh=yIq2XtPs0w6cZlrpIyYOiyevEDEQCJutT8+OVpJpvoo=; fh=Vd00GRLUNDtgftEBzBaifz0ZIGFRdtawsvTRUw5VTu8=; b=kaV+S4SeWgHAR4XrbIsoWdxhGsWHrlerWqw44pOM+ms3PAjLEwsESLmviV5P+ar0V8 jP90cLCmIFdDvFKQBxaHZvJzEXatm6FqCW6/mHhPgr44/w16wlWp8Jnyr2ccRHdi2FyS 3jFnKG6Iy7ZuPCXbqPMnKUWcPdYLMjPrrE1rV+rgkRlobobP27H2Td3hzlCbnQ/ufZTe vMKhdJhV2tOpYR63L0YKZm9+gvOFYkZ0YNAM44AIXoe/A6W9GmunTj9qaw+gX9ecSqEs c0konHGUYPLZ4JvZAxl6uXnbzwIfWTQF38fkaJYSD2rgRMOYmYbhz5zTwW9ftBTXJote uUtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id bv22-20020a17090af19600b002741e78e66asi4448409pjb.153.2023.09.21.15.27.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 15:27:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id C895980FC730; Thu, 21 Sep 2023 11:57:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230057AbjIUS52 (ORCPT + 99 others); Thu, 21 Sep 2023 14:57:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230370AbjIUS5B (ORCPT ); Thu, 21 Sep 2023 14:57:01 -0400 Received: from smtp01.aussiebb.com.au (smtp01.aussiebb.com.au [IPv6:2403:5800:3:25::1001]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F8938ED43; Thu, 21 Sep 2023 11:51:05 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp01.aussiebb.com.au (Postfix) with ESMTP id 8F65910057C; Thu, 21 Sep 2023 17:03:52 +1000 (AEST) X-Virus-Scanned: Debian amavisd-new at smtp01.aussiebb.com.au Received: from smtp01.aussiebb.com.au ([127.0.0.1]) by localhost (smtp01.aussiebb.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eCRW0MMXS3Y8; Thu, 21 Sep 2023 17:03:52 +1000 (AEST) Received: by smtp01.aussiebb.com.au (Postfix, from userid 116) id 8835810057F; Thu, 21 Sep 2023 17:03:52 +1000 (AEST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 Received: from donald.themaw.net (180-150-90-198.b4965a.per.nbn.aussiebb.net [180.150.90.198]) by smtp01.aussiebb.com.au (Postfix) with ESMTP id BC87F100265; Thu, 21 Sep 2023 17:03:51 +1000 (AEST) Subject: [PATCH 4/8] autofs: reformat 0pt enum declaration From: Ian Kent To: Al Viro , Christian Brauner Cc: autofs mailing list , linux-fsdevel , Kernel Mailing List , Bill O'Donnell , Miklos Szeredi , David Howells Date: Thu, 21 Sep 2023 15:03:51 +0800 Message-ID: <169527983132.27328.10535655381168506781.stgit@donald.themaw.net> In-Reply-To: <169527971702.27328.16272807830250040704.stgit@donald.themaw.net> References: <169527971702.27328.16272807830250040704.stgit@donald.themaw.net> User-Agent: StGit/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 21 Sep 2023 11:57:38 -0700 (PDT) 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 --- 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"},