lkml.org 
[lkml]   [2005]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/6] per-mount noatime and nodiratime
On Tue, Dec 13, 2005 at 02:36:38PM -0800, Andrew Morton wrote:
> Where'd this hunk come from?
>
> > Index: linux-2.6.15-rc5/fs/super.c
> > ===================================================================
> > --- linux-2.6.15-rc5.orig/fs/super.c 2005-12-13 11:27:14.000000000 +0100
> > +++ linux-2.6.15-rc5/fs/super.c 2005-12-13 12:06:00.000000000 +0100
> > @@ -830,9 +830,9 @@
> > mnt->mnt_parent = mnt;
> >
> > if (type->fs_flags & FS_NOATIME)
> > - sb->s_flags |= MS_NOATIME;
> > + mnt->mnt_flags |= MNT_NOATIME;
> > if (type->fs_flags & FS_NODIRATIME)
> > - sb->s_flags |= MS_NODIRATIME;
> > + mnt->mnt_flags |= MNT_NODIRATIME;
> >
> > up_write(&sb->s_umount);
> > free_secdata(secdata);
>
> I just dropped it, but it's a worry...

This is totally intentional. The FS_* flags were introduced in the
previous patch to mark filesystems that always are NOATIME/NODIRATIME,
and with this patch we need to set them in the vfsmount instead of the
superblock.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-13 23:42    [W:1.038 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site