linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4/6] FS_NOATIME for ocfs
@ 2005-12-13 17:56 Christoph Hellwig
  2005-12-14 22:47 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2005-12-13 17:56 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

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 <hch@lst.de>

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);
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-14 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13 17:56 [PATCH 4/6] FS_NOATIME for ocfs Christoph Hellwig
2005-12-14 22:47 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).