Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2296514rdb; Thu, 21 Sep 2023 14:30:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFgZ8gmFy97CrjoRCQTch2O6fOH5uOK9YO2vzjigUwG+uB4+awsRj942pUu/K+su0dAAUDS X-Received: by 2002:a17:902:f7d1:b0:1c3:e5bf:a9f8 with SMTP id h17-20020a170902f7d100b001c3e5bfa9f8mr5811477plw.19.1695331829659; Thu, 21 Sep 2023 14:30:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695331829; cv=none; d=google.com; s=arc-20160816; b=exLIBlkooV2psbTdm76a+H+2fFiWYbDSVjZ1xVynPLpsbckzHlGtCDYprt40h6iLss qICnLnJXZiUlIkOrfJECxkQulwhiLuYCqwh7o6Z7uS592EjDsuzC29YS3ljo4e48M+zg Ch2ivbt0xjhapRp7P+1StDmQnQcMH32YNTBwTDoSQ87YVCkodvT8bqXETx0SNaOoa9bM 1dlW18FjJI8NlbgEmE+0gDoFMFNIC9ZCIgQi6dT3rL1s0I3lxUzkBGNvJbH7oJpioxWj rfZDFeZ+Ze5TlQ9zWy0W3upGRgIiiRpEZnSdk35MDOgQbSMMFyUckGYMqox3+Sj9bShv M3Yw== 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:message-id:date:cc:to:from:subject; bh=pImcvVYySJ3eeKWE+qZKTZEI9r6P4K/w9xnGmP+qhz4=; fh=Vd00GRLUNDtgftEBzBaifz0ZIGFRdtawsvTRUw5VTu8=; b=LWC1O89IrITAYOEXv1h3t/nsfnCuTT9zdg8KRxfGZNeVcBnddR4WlivSArYoY8yO8z qUgY1shlmiMftky+Veb17uX8xXUmfAd+z722xU8RTYtbnV8YUjvoDwJnTlYxyNL6OzhP zQ8B3KEdMp/yI3tJogrp4LqGkQny/lHsx3xOl+T7NJE8HL03I4+ifyG5EYUBL4b84/+x 5wtrYUo0RMjRYCMA9kei9gVc76bMV1atBoUcC7Da1joHtLZxSrYnVXGFaa1DHfaoMjNm s2ZMvdOF3HBzxtFfJ/Z/HVloMtiiu4C+CFFSx7qAxcKet74EDxuoyB94wUQFNg3S/msu z0jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id u2-20020a170902e80200b001bf1973eaeasi2613135plg.577.2023.09.21.14.30.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 14:30:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 75661811F130; Thu, 21 Sep 2023 11:57:46 -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 S230371AbjIUS5e (ORCPT + 99 others); Thu, 21 Sep 2023 14:57:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjIUS46 (ORCPT ); Thu, 21 Sep 2023 14:56:58 -0400 X-Greylist: delayed 60 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 21 Sep 2023 11:51:06 PDT Received: from smtp01.aussiebb.com.au (smtp01.aussiebb.com.au [121.200.0.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40AE18ED50; 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 1C10D10037D; Thu, 21 Sep 2023 17:03:29 +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 5x_DGjDpQCIv; Thu, 21 Sep 2023 17:03:29 +1000 (AEST) Received: by smtp01.aussiebb.com.au (Postfix, from userid 116) id 13103100265; Thu, 21 Sep 2023 17:03:29 +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 02048100073; Thu, 21 Sep 2023 17:03:26 +1000 (AEST) Subject: [PATCH 0/8] autofs - convert to to use mount api 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:26 +0800 Message-ID: <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:46 -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(-) -- Ian