[PATCH 4/6] FS_NOATIME for ocfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OCFS is only in -mm so far, so here's a separate patch for the
FS_NOATIME in ocfs in case this patchkit goes in before ocfs is merged.

Although I think ocfs should still go into 2.6.15 a an additional driver
that stands on it's own..


Signed-off-by: Christoph Hellwig <[email protected]>

Index: linux-2.6.15-rc5/fs/ocfs2/super.c
===================================================================
--- linux-2.6.15-rc5.orig/fs/ocfs2/super.c	2005-12-12 18:51:17.000000000 +0100
+++ linux-2.6.15-rc5/fs/ocfs2/super.c	2005-12-13 11:14:40.000000000 +0100
@@ -677,7 +677,7 @@
 	.kill_sb        = kill_block_super, /* set to the generic one
 					     * right now, but do we
 					     * need to change that? */
-	.fs_flags       = FS_REQUIRES_DEV,
+	.fs_flags       = FS_REQUIRES_DEV | FS_NOATIME,
 	.next           = NULL
 };
 
@@ -1226,7 +1226,6 @@
 	sb->s_fs_info = osb;
 	sb->s_op = &ocfs2_sops;
 	sb->s_export_op = &ocfs2_export_ops;
-	sb->s_flags |= MS_NOATIME;
 	/* this is needed to support O_LARGEFILE */
 	sb->s_maxbytes = ocfs2_max_file_offset(sb->s_blocksize_bits);
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux