summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_vnode.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-08-04 13:23:15 +1000
committerDave Chinner <david@fromorbit.com>2014-08-04 13:23:15 +1000
commit2667c6f935d979cea1ab7fa58568fd0fd725525f (patch)
tree09dd3853448c02801ad5c5fc8a1840b6fc947232 /fs/xfs/xfs_vnode.h
parenteac152b4742ec5f1ed04d73d699ae2be3607d56b (diff)
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__ */