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

From: David Sterba
Date: Mon Jul 10 2017 - 12:16:55 EST


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@xxxxxxxxxx>
> cc: Chris Mason <clm@xxxxxx>
> cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
> cc: linux-btrfs@xxxxxxxxxxxxxxx
> cc: reiserfs-devel@xxxxxxxxxxxxxxx
> ---

For

> fs/btrfs/super.c | 1 -

Acked-by: David Sterba <dsterba@xxxxxxxx>