Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681710

Re: [PATCH 01/14] VFS: Don't use save/replace_mount_options if not using generic_show_options

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 01/14] VFS: Don't use save/replace_mount_options if not using generic_show_options
Date 2017-07-05 21:00 +0200
Message-ID <tZXGN-1Dt-7@gated-at.bofh.it> (permalink)
References <tZUpz-83i-3@gated-at.bofh.it> <tZUpz-83i-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <dhowells@redhat.com>
> cc: Chris Mason <clm@fb.com>
> cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> cc: Steven Rostedt <rostedt@goodmis.org>
> cc: linux-btrfs@vger.kernel.org
> cc: reiserfs-devel@vger.kernel.org

For debugfs:
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 01/14] VFS: Don't use save/replace_mount_options if not  using generic_show_options David Howells <dhowells@redhat.com> - 2017-07-05 17:30 +0200
  Re: [PATCH 01/14] VFS: Don't use save/replace_mount_options if not using generic_show_options David Howells <dhowells@redhat.com> - 2017-07-05 17:40 +0200
    Re: [PATCH 01/14] VFS: Don't use save/replace_mount_options if not  using generic_show_options Steven Rostedt <rostedt@goodmis.org> - 2017-07-05 21:00 +0200
  Re: [PATCH 01/14] VFS: Don't use save/replace_mount_options if not  using generic_show_options Steven Rostedt <rostedt@goodmis.org> - 2017-07-05 17:40 +0200
  Re: [PATCH 01/14] VFS: Don't use save/replace_mount_options if not  using generic_show_options Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-07-05 21:00 +0200
  Re: [PATCH 01/14] VFS: Don't use save/replace_mount_options if not  using generic_show_options David Sterba <dsterba@suse.cz> - 2017-07-10 18:20 +0200

csiph-web