Skip to contentSkip to conversation

xfs: remove IS_NOATIME

PATCH New Christoph Hellwig 1 participant 1 message Jan 15, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: remove IS_NOATIME

Andrew added a local copy of IS_NOATIME to xfs because it was remove from fs.h and xfs still needed it until the last git merge. Remove it since it's unused now.

fs/xfs/linux-2.6/xfs_iops.c +0 -2
Index: linux-2.6.15-mm4/fs/xfs/linux-2.6/xfs_iops.c
===================================================================
@@ -56,8 +56,6 @@
 #include <linux/namei.h>
 #include <linux/security.h>
 
-#define IS_NOATIME(inode) ((inode->i_sb->s_flags & MS_NOATIME) ||	\
-	(S_ISDIR(inode->i_mode) && inode->i_sb->s_flags & MS_NODIRATIME))
 
 /*
  * Get a XFS inode from a given vnode.