Messages in this thread | | | Date | Tue, 7 Oct 2008 07:48:17 -0400 | From | Christoph Hellwig <> | Subject | Re: [RFC PATCH] i_version: remount support |
| |
On Tue, Oct 07, 2008 at 07:30:48AM -0400, Mimi Zohar wrote: > Add support for remounting a filesystem with the i_version option. > > Signed-off-by: Mimi Zohar <zohar@us.ibm.com> > --- > diff --git a/fs/super.c b/fs/super.c > index e931ae9..3758cbe 100644 > --- a/fs/super.c > +++ b/fs/super.c > @@ -641,6 +641,8 @@ int do_remount_sb(struct super_block *sb, int flags, void *data, int force) > return retval; > } > sb->s_flags = (sb->s_flags & ~MS_RMT_MASK) | (flags & MS_RMT_MASK); > + if (flags & MS_I_VERSION) > + sb->s_flags |= MS_I_VERSION;
The proper way would be to add it to MS_RMT_MASK.
| |