summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnode.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-08-04 05:23:15 +0200
committerDave Chinner <david@fromorbit.com>2014-08-04 05:23:15 +0200
commit2667c6f935d979cea1ab7fa58568fd0fd725525f (patch)
tree09dd3853448c02801ad5c5fc8a1840b6fc947232 /fs/xfs/xfs_vnode.h
parentxfs: kill VN_DIRTY() (diff)
downloadlinux-2667c6f935d979cea1ab7fa58568fd0fd725525f.tar.xz
linux-2667c6f935d979cea1ab7fa58568fd0fd725525f.zip
xfs: kill VN_CACHED
Only has 2 users, has outlived it's usefulness. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_vnode.h')
-rw-r--r--fs/xfs/xfs_vnode.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_vnode.h b/fs/xfs/xfs_vnode.h
index 07b475aa896c..bcf0c74f0d2f 100644
--- a/fs/xfs/xfs_vnode.h
+++ b/fs/xfs/xfs_vnode.h
@@ -38,7 +38,6 @@ struct attrlist_cursor_kern;
* Some useful predicates.
*/
#define VN_MAPPED(vp) mapping_mapped(vp->i_mapping)
-#define VN_CACHED(vp) (vp->i_mapping->nrpages)
#endif /* __XFS_VNODE_H__ */