Re: [RFC][Long][Horror story] Mount flags

From: Alexander Viro (aviro@redhat.com)
Date: Sun Jul 30 2000 - 18:56:17 EST


On Sun, 30 Jul 2000, Mitchell Blank Jr wrote:

> One other question though - Al mentioned that MS_ODD_RENAME should really
> go into ->s_type->fs_flags... so why not move it?

I'll do it, indeed. Moreover, since we don't copy ->s_flags to ->i_flags
anymore (since 2.1.late) _and_ the only bits shared with ->s_flags and
set in ->i_flags are MS_SYNCHRONOUS and MS_NOATIME I think that the right thing
is
        a) remove check in ->i_flags from IS_FOO for values of FOO other than
SYNC and NOATIME - it always gives false, anyway.
        b) Define S_SYNC and S_NOATIME and let ext2 set them (in ->i_flags,
that is) in places where it currently sets MS_SYNCHRONOUS and MS_NOATIME.
        c) let IS_SYNC and IS_NOATIME check for MS_FOO in ->s_flags and S_FOO
in ->i_flags.
        d) forget about the magical dependencies between ->s_flags and ->i_flags
layouts.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:32 EST