Message ID | 20230922041215.13675-1-raven@themaw.net |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:a55:b0:13f:353d:d1ed with SMTP id 21csp4556511rwb; Fri, 22 Sep 2023 03:36:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGA1chcsqxJshXYMOVR+U9PkzH/ygIGMbNe1rAgIdDWLN4OzXV5vlt+w4TEZS4BhfQ/3V6v X-Received: by 2002:a05:6a00:1822:b0:690:1720:aa92 with SMTP id y34-20020a056a00182200b006901720aa92mr8365521pfa.10.1695379000847; Fri, 22 Sep 2023 03:36:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695379000; cv=none; d=google.com; s=arc-20160816; b=p6YDPgZFnpr06/Q7uO/GfYrj5zdDZ1zQVh0MwrH7Nb46fgYzsKU5xtEn2MicJUM1D4 C3TYgP74LuUAESOg1Z8VZXFxGch78gSPnXiW7P1JupV1s4wGN6k847pPwtJM2AOU1OXA 8wLYZgWaO3Tx6rtcrfXRHj90epfzSbzRvuDSz4io8sArWAcDqMMqzq0CKDEWltsXYhF5 zaZa7KfnS9zgzavinlToC9lJ02EGb0mLab4b26tOrgW16IwPcBGUpumGPqzIXs0FP64E sL5tUGsEDNRfUrLoFK5bO0IY2mRF5CAF+CSA95eFozXHM0SEON9uAmspnZo/jD22Q56c ta+w== 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 :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=uI4T7zAHEdSnD2K9j+HC//bD8KbiRQpQtuKbu4Xx/0I=; fh=tOzwWtfY/Ihw0ZG9uDufqX7N1fYPvJMmg28cxm4BgX4=; b=cJieDeRtCN6C3gzQezycMFHK6b4lsQo7/tUhHB/t/bIir8qSr3UT8RdXe+vEYsfPvz S0u2ZIUtV9/tILSvGg+DBzO25XVijLbvoS3N8IAg+cswCN7GSL1Z5o2BQTVprtbP13fN I2C0eXh6jcU42fvFsgM6OTqkjxw2bf41141DYkWoUnXg8hNi/9mhjPqZYxxtPWWVB+SE 5CjfVyHRNWj01rgqtf/QfNoril4O8RHNvlRW4O4q3BBd9sgj8dnqdwtaSeyZv7+3sC2Q es0Nnz9PdtZU9SPMi6SgOCBM5RIQ4Mb5MzuVL1A3Bcv/5Vp02PH0lVqxc65af5dXgGZ0 iNyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@themaw.net header.s=fm1 header.b=XC2jY657; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=WPt5fItn; 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 s140-20020a632c92000000b00578a56a39dbsi3511429pgs.409.2023.09.22.03.36.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 03:36:40 -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=pass header.i=@themaw.net header.s=fm1 header.b=XC2jY657; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=WPt5fItn; 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 2C9838370859; Thu, 21 Sep 2023 21:12:48 -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 S229933AbjIVEMo (ORCPT <rfc822;chrisfriedt@gmail.com> + 30 others); Fri, 22 Sep 2023 00:12:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbjIVEMl (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 22 Sep 2023 00:12:41 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D48C19B; Thu, 21 Sep 2023 21:12:35 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E1ADA5C007F; Fri, 22 Sep 2023 00:12:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 22 Sep 2023 00:12:31 -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:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1695355951; x=1695442351; bh=uI4T7zAHEd SnD2K9j+HC//bD8KbiRQpQtuKbu4Xx/0I=; b=XC2jY657mOoIeQlWGw5eZmM/zV dxYI8g4PKY/05cSOaEdDzmeKut+6/61BmLMzFcxZRL6BkWbgJo3W4Hi6z1pmDAcR pfr907J8LM3enXsH873SJMfNnQndnRCeJrNRU5TLEXCdbscCESz1SwlH4JFs8MEW QZKO5G/p/VRwdpUAGlQCG0xk3wgmVNMOLO3mXSw85gIjbN0ptfDLBvnnRjYerhjy cdpjuef9wu/Cxxx/QxnjngcPzPeliQmvxxd62U9MrQ+oy4lj57s/6tcAO5ZLfJb/ amzQMjTQuQCXn6B4TqC9HNWX622LlA0tdwJu1Z1ulbpGjOmbqZvzDk31SFsA== 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:message-id:mime-version: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=1695355951; x=1695442351; bh=uI4T7zAHEdSnD 2K9j+HC//bD8KbiRQpQtuKbu4Xx/0I=; b=WPt5fItnj0fV1wgOK/j5pY1BU4x4H Sbkw/8fpJdm14klb+KKGTblJ1SzFD4U01pd2n39oSGP50/+r/7Nd4OOMFfYCI4/F nqjMA4d4RuSVIci/zlhB6jU6stqMsTQLk3agNZPc/dBfvlpnvJ1vy4lVTPi+DsO1 mpAe1fI/o1F1vhf2TpJQmvGjLA3waISPOyP5X3DYWskdDRhoINUGQXbUd+R+lth2 pqY725HkEu2ZWUMQQcRajtAgYa4N6uVk4K496TrHRoQqdxLr16RmfSkWN5b1RCbQ jSbbifnDQ6Do/gvFex1wUtbrW20sSgGEmc2k09m0aTTr2New18/awKhQQ== X-ME-Sender: <xms:LxQNZW8cf1dobpttKD4AjmfCJaQWj4Ms-2rgxAHbY7J0F_YYZzPUgg> <xme:LxQNZWvx9DQUloyX0H3TKY8oWjFY76nHHwgQx4XjDPjJT8FNn7aAG0XAnkQB2N-0f njNlI-7zUnp> X-ME-Received: <xmr:LxQNZcBENe10_EKka5uVyNkBg9cLDGUt9Pr8JmAPsbd-Dih_thPyDmu-Ka2aB2v7drnieSylKVSE5cUjy0Qgh2Uw3ek-V8b9_YosnW0kKt0_oooq9exbag> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudekjedgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepkfgrnhcumfgv nhhtuceorhgrvhgvnhesthhhvghmrgifrdhnvghtqeenucggtffrrghtthgvrhhnpedutd fhveehuefhjefgffegieduhefhtdejkefhvdekteeihfehtddtgffgheduleenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrrghvvghnsehthh gvmhgrfidrnhgvth X-ME-Proxy: <xmx:LxQNZecxVgGKKUBhdH5PzUZ1N69Rwtk7k1NoUJrrvq6USSqqkweGOA> <xmx:LxQNZbONwJHTGFWycuy6_9LkItUkg30rpsREQpGMa5cMG9QM2wI3WA> <xmx:LxQNZYnDNWrI3c76cj4iTYbbrJqW2PwSukWz3NmTscNMs9ms6FMFzA> <xmx:LxQNZXB7OGODTookAWRL_AZsGxwEBBtd3iqr_tu5Wu3QYBwSNu4gCQ> Feedback-ID: i31e841b0:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 22 Sep 2023 00:12:27 -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 0/8] autofs - convert to to use mount api Date: Fri, 22 Sep 2023 12:12:07 +0800 Message-ID: <20230922041215.13675-1-raven@themaw.net> X-Mailer: git-send-email 2.41.0 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:12:48 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777733730705109541 X-GMAIL-MSGID: 1777733730705109541 |
Series |
autofs - convert to to use mount api
|
|
Message
Ian Kent
Sept. 22, 2023, 4:12 a.m. UTC
There was a patch from David Howells to convert autofs to use the mount
api but it was never merged.
I have taken David's patch and refactored it to make the change easier
to review in the hope of having it merged.
Signed-off-by: Ian Kent <raven@themaw.net>
Ian Kent (8):
autofs: refactor autofs_prepare_pipe()
autofs: add autofs_parse_fd()
autofs: refactor super block info init
autofs: reformat 0pt enum declaration
autofs: refactor parse_options()
autofs: validate protocol version
autofs: convert autofs to use the new mount api
autofs: fix protocol sub version setting
fs/autofs/autofs_i.h | 15 +-
fs/autofs/init.c | 9 +-
fs/autofs/inode.c | 423 +++++++++++++++++++++++++------------------
3 files changed, 266 insertions(+), 181 deletions(-)
Comments
On Fri, 22 Sep 2023 12:12:07 +0800, Ian Kent wrote: > There was a patch from David Howells to convert autofs to use the mount > api but it was never merged. > > I have taken David's patch and refactored it to make the change easier > to review in the hope of having it merged. > > Signed-off-by: Ian Kent <raven@themaw.net> > > [...] Applied to the vfs.autofs branch of the vfs/vfs.git tree. Patches in the vfs.autofs branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.autofs [1/8] autofs: refactor autofs_prepare_pipe() https://git.kernel.org/vfs/vfs/c/a1388470620f [2/8] autofs: add autofs_parse_fd() https://git.kernel.org/vfs/vfs/c/917c4dd6e625 [3/8] autofs: refactor super block info init https://git.kernel.org/vfs/vfs/c/81a57bf0af7c [4/8] autofs: reformat 0pt enum declaration https://git.kernel.org/vfs/vfs/c/34539aa9def8 [5/8] autofs: refactor parse_options() https://git.kernel.org/vfs/vfs/c/805b2411ca1c [6/8] autofs: validate protocol version https://git.kernel.org/vfs/vfs/c/89405b46e168 [7/8] autofs: convert autofs to use the new mount api https://git.kernel.org/vfs/vfs/c/7bf383b78c56 [8/8] autofs: fix protocol sub version setting https://git.kernel.org/vfs/vfs/c/10afd722e290
On Fri, Sep 22, 2023 at 12:12:07PM +0800, Ian Kent wrote: > There was a patch from David Howells to convert autofs to use the mount > api but it was never merged. > > I have taken David's patch and refactored it to make the change easier > to review in the hope of having it merged. > > Signed-off-by: Ian Kent <raven@themaw.net> for the series... Reviewed-by: Bill O'Donnell <bodonnel@redhat.com> > > Ian Kent (8): > autofs: refactor autofs_prepare_pipe() > autofs: add autofs_parse_fd() > autofs: refactor super block info init > autofs: reformat 0pt enum declaration > autofs: refactor parse_options() > autofs: validate protocol version > autofs: convert autofs to use the new mount api > autofs: fix protocol sub version setting > > fs/autofs/autofs_i.h | 15 +- > fs/autofs/init.c | 9 +- > fs/autofs/inode.c | 423 +++++++++++++++++++++++++------------------ > 3 files changed, 266 insertions(+), 181 deletions(-) > > -- > 2.41.0 >