Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2652829rdb; Fri, 22 Sep 2023 05:12:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJ7TcdxSy9swoT34LZr6ywC3OeeBfZgwAXOQ2IaHE7PBf+yKMfvJpd+NXXWEsmmEZhJgvH X-Received: by 2002:a05:6a00:3004:b0:691:2d4:23a2 with SMTP id ay4-20020a056a00300400b0069102d423a2mr4234706pfb.31.1695384728733; Fri, 22 Sep 2023 05:12:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695384728; cv=none; d=google.com; s=arc-20160816; b=oOATTACzCF8IPNeHC3qml/RQd4GPaK4V/MnyWCE9mwYJdh4ukenE2Q4K2UM9oZ0lpQ mbgjdpQSxMnwmwiaKsTX7+i8wzkAauHXbfDEEsq6h5PyOvmxbNHBiUCEoitOKNwHy98w DlSgsky+MaQSeIjRe6uMRbjhpfYgf8JEl1nJ/sC2pgNnFcWm2qwocEpudix2dFXd+/bB XPhu+aCWLoGcqeZe9dlUvLFmmGCK1TQdnI867TV8lPNfANEEOVNzDzVmnN6xnPzpakem shCcV113+qLiRgKyo/dt1wtB9bKsTsW7eyT/tF8CvZwA18Zn/lR40pPMab2MgWt2Db32 0rcA== 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:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id bk13-20020a056a02028d00b00563e25c07c0si319942pgb.270.2023.09.22.05.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 05:12:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; 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:6 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 pete.vger.email (Postfix) with ESMTP id B17AE80BC111; Thu, 21 Sep 2023 21:13:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229932AbjIVEMo (ORCPT + 99 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 ); 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudekjedgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepkfgrnhcumfgv nhhtuceorhgrvhgvnhesthhhvghmrgifrdhnvghtqeenucggtffrrghtthgvrhhnpedutd fhveehuefhjefgffegieduhefhtdejkefhvdekteeihfehtddtgffgheduleenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrrghvvghnsehthh gvmhgrfidrnhgvth X-ME-Proxy: Feedback-ID: i31e841b0:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 22 Sep 2023 00:12:27 -0400 (EDT) From: Ian Kent To: Al Viro , Christian Brauner Cc: autofs mailing list , linux-fsdevel , Kernel Mailing List , Bill O'Donnell , Miklos Szeredi , David Howells , Ian Kent 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 pete.vger.email 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 (pete.vger.email [0.0.0.0]); Thu, 21 Sep 2023 21:13:25 -0700 (PDT) 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 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