From: David Sterba Subject: Re: [PATCH 01/14] VFS: Don't use save/replace_mount_options if not using generic_show_options Date: Mon, 10 Jul 2017 18:15:12 +0200 Message-ID: <20170710161512.GM2866@twin.jikos.cz> References: <149926824154.20611.6104595541055328700.stgit@warthog.procyon.org.uk> <149926824918.20611.721200514474820755.stgit@warthog.procyon.org.uk> Reply-To: dsterba@suse.cz Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <149926824918.20611.721200514474820755.stgit@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: David Howells Cc: viro@zeniv.linux.org.uk, Greg Kroah-Hartman , reiserfs-devel@vger.kernel.org, Steven Rostedt , linux-kernel@vger.kernel.org, Chris Mason , linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org On Wed, Jul 05, 2017 at 04:24:09PM +0100, David Howells wrote: > btrfs, debugfs, reiserfs and tracefs call save_mount_options() and reiserfs > calls replace_mount_options(), but they then implement their own > ->show_options() methods and don't touch s_options, rendering the saved > options unnecessary. I'm trying to eliminate s_options to make it easier > to implement a context-based mount where the mount options can be passed > individually over a file descriptor. > > Remove the calls to save/replace_mount_options() call in these cases. > > Signed-off-by: David Howells > cc: Chris Mason > cc: Greg Kroah-Hartman > cc: Steven Rostedt > cc: linux-btrfs@vger.kernel.org > cc: reiserfs-devel@vger.kernel.org > --- For > fs/btrfs/super.c | 1 - Acked-by: David Sterba