From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D19A9C43381 for ; Thu, 21 Mar 2019 11:47:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A96F7218FD for ; Thu, 21 Mar 2019 11:47:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728064AbfCULrj (ORCPT ); Thu, 21 Mar 2019 07:47:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39924 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727829AbfCULrj (ORCPT ); Thu, 21 Mar 2019 07:47:39 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 559B988AB5; Thu, 21 Mar 2019 11:47:38 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-121-98.rdu2.redhat.com [10.10.121.98]) by smtp.corp.redhat.com (Postfix) with ESMTP id E0F605D9C5; Thu, 21 Mar 2019 11:47:32 +0000 (UTC) Subject: [RFC PATCH 0/8] Convert mount_single-using filesystems to fs_context From: David Howells To: viro@zeniv.linux.org.uk Cc: Colin Cross , Steven Rostedt , Tony Luck , Jeremy Kerr , Kees Cook , linux-s390@vger.kernel.org, Heiko Carstens , Anton Vorontsov , Arnd Bergmann , Greg Kroah-Hartman , linuxppc-dev@lists.ozlabs.org, Martin Schwidefsky , "Rafael J. Wysocki" , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, dhowells@redhat.com Date: Thu, 21 Mar 2019 11:47:32 +0000 Message-ID: <155316885201.29437.3428987891437242750.stgit@warthog.procyon.org.uk> User-Agent: StGit/unknown-version MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 21 Mar 2019 11:47:39 +0000 (UTC) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hi Al, Here's a set of patches that converts the mount_single()-using filesystems to use the new fs_context struct. There may be prerequisite commits in the branch detailed below. (1) Add a new keying to vfs_get_super() that indicates that ->reconfigure() should be called instead of (*fill_super)() if the superblock already exists. (2) Convert debugfs. (3) Convert tracefs. (4) Convert pstore. (5) Fix a bug in hypfs. (6) Convert hypfs. (7) Convert spufs. (8) Kill off mount_single(). These can be found in the following branch: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=mount-api-viro Thanks, David --- David Howells (8): vfs: Add a single-or-reconfig keying to vfs_get_super() vfs: Convert debugfs to fs_context vfs: Convert tracefs to fs_context vfs: Convert pstore to fs_context hypfs: Fix error number left in struct pointer member vfs: Convert hypfs to fs_context vfs: Convert spufs to fs_context vfs: Kill off mount_single() Documentation/filesystems/vfs.txt | 4 - arch/powerpc/platforms/cell/spufs/inode.c | 207 ++++++++++++++++------------- arch/s390/hypfs/inode.c | 137 +++++++++++-------- fs/debugfs/inode.c | 186 ++++++++++++-------------- fs/pstore/inode.c | 110 ++++++++++----- fs/super.c | 73 ++-------- fs/tracefs/inode.c | 180 ++++++++++++------------- include/linux/fs.h | 3 include/linux/fs_context.h | 1 9 files changed, 446 insertions(+), 455 deletions(-)