From: Nathan Scott <nathans@bruce>
Date: Mon, 16 Jan 2006 05:28:07 +0000 (+1100)
Subject: [XFS] remove no-longer-needed IS_NOATIME macro, twas just a build workaround
X-Git-Tag: firefly_0821_release~38832^2
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=107a09c44b65d5e2a5313edfda91c498df3b3f2a;p=firefly-linux-kernel-4.4.55.git

[XFS] remove no-longer-needed IS_NOATIME macro, twas just a build workaround

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nathan Scott <nathans@sgi.com>
---

diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c
index 521bf3834b43..76c6df34d0db 100644
--- a/fs/xfs/linux-2.6/xfs_iops.c
+++ b/fs/xfs/linux-2.6/xfs_iops.c
@@ -56,9 +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.
  */