From patchwork Fri Nov 23 10:41:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Kent X-Patchwork-Id: 10695565 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B3ABB13BF for ; Fri, 23 Nov 2018 10:41:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F9032C05F for ; Fri, 23 Nov 2018 10:41:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FA362C58E; Fri, 23 Nov 2018 10:41:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C2472C05F for ; Fri, 23 Nov 2018 10:41:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394048AbeKWVZd (ORCPT ); Fri, 23 Nov 2018 16:25:33 -0500 Received: from icp-osb-irony-out4.external.iinet.net.au ([203.59.1.220]:13399 "EHLO icp-osb-irony-out4.external.iinet.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390243AbeKWVZc (ORCPT ); Fri, 23 Nov 2018 16:25:32 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2AbAACP2Pdb/7650XYNVRwBAQEEAQEHBAEBgVMFAQELAYgLlGEBAQEBAQEGhHeFV44igXqEdAMChDc2Bw0BAwEBAQEBAQKGVCdWKAEMAiYCSRaFKaY7cIEvGol9gQuBc4kieIEHjCWCVwKIfySGOTOPcwmRRwoCiWkDhxCZfQ2BeU0uCoMokGaODQEB X-IPAS-Result: A2AbAACP2Pdb/7650XYNVRwBAQEEAQEHBAEBgVMFAQELAYgLlGEBAQEBAQEGhHeFV44igXqEdAMChDc2Bw0BAwEBAQEBAQKGVCdWKAEMAiYCSRaFKaY7cIEvGol9gQuBc4kieIEHjCWCVwKIfySGOTOPcwmRRwoCiWkDhxCZfQ2BeU0uCoMokGaODQEB X-IronPort-AV: E=Sophos;i="5.56,269,1539619200"; d="scan'208";a="122563320" Received: from unknown (HELO [192.168.1.28]) ([118.209.185.190]) by icp-osb-irony-out4.iinet.net.au with ESMTP; 23 Nov 2018 18:41:44 +0800 Subject: [PATCH v2 0/5] autofs updates From: Ian Kent To: Andrew Morton Cc: Al Viro , autofs mailing list , linux-fsdevel , Kernel Mailing List Date: Fri, 23 Nov 2018 18:41:41 +0800 Message-ID: <154296962626.9889.644199825100770992.stgit@pluto-themaw-net> User-Agent: StGit/unknown-version MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP - improve file system verification for ioctl case. - fix potential inode leak in mount code. - add "strictexpire" autofs mount option. v2 changes: - fix compile error. - deffer some of the mount option re-factoring to try and avoid any conflicts with linux-next. --- Ian Kent (5): autofs - improve ioctl sbi checks autofs - fix possible inode leak in autofs_fill_super() autofs - simplify parse_options() function call autofs - change catatonic setting to a bit flag autofs - add strictexpire mount option fs/autofs/autofs_i.h | 11 ++++-- fs/autofs/dev-ioctl.c | 29 +++++----------- fs/autofs/init.c | 2 + fs/autofs/inode.c | 75 +++++++++++++++++++++++++----------------- fs/autofs/root.c | 16 ++++++--- fs/autofs/waitq.c | 10 +++--- include/uapi/linux/auto_fs.h | 2 + 7 files changed, 78 insertions(+), 67 deletions(-) -- Ian