Re: [PATCH 1/2] Btrfs: make space to keep default mount options

2012-09-20 Thread David Sterba
On Wed, Sep 19, 2012 at 05:31:25PM +0900, Hidetoshi Seto wrote: > >> > >> + info->mount_opt = info->super_copy->default_mount_opt; > > > > the options have to respect some priority, eg. when I set default > > options to a filesystem, but mount with a different set, I expect that > > the explici

Re: [PATCH 1/2] Btrfs: make space to keep default mount options

2012-09-19 Thread Hidetoshi Seto
(2012/09/18 21:10), David Sterba wrote: > On Tue, Sep 18, 2012 at 10:28:48AM +0900, Hidetoshi Seto wrote: >> diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h >> index fa5c45b..3eb0551 100644 >> --- a/fs/btrfs/ctree.h >> +++ b/fs/btrfs/ctree.h >> @@ -458,8 +458,11 @@ struct btrfs_super_block { >>

Re: [PATCH 1/2] Btrfs: make space to keep default mount options

2012-09-18 Thread David Sterba
On Tue, Sep 18, 2012 at 10:28:48AM +0900, Hidetoshi Seto wrote: > This patch create space to hold default mount option, > and to use saved default mount option change super.c > to read default mount option first when mount devices. > > Signed-off-by: Hidetoshi Seto > --- > fs/btrfs/ctree.h |

[PATCH 1/2] Btrfs: make space to keep default mount options

2012-09-17 Thread Hidetoshi Seto
This patch create space to hold default mount option, and to use saved default mount option change super.c to read default mount option first when mount devices. Signed-off-by: Hidetoshi Seto --- fs/btrfs/ctree.h |5 - fs/btrfs/super.c |2 ++ 2 files changed, 6 insertions(+), 1 delet