summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_icache.h
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2014-11-28 14:52:16 +1100
committerDave Chinner <david@fromorbit.com>2014-11-28 14:52:16 +1100
commit216875a594e0b4fc72830e3690b8fbe7430738e2 (patch)
tree4658b9b572333cd8a730a1104ad452764f0e69fe /fs/xfs/xfs_icache.h
parent4bd47c1bf4a64225a855ed77e259eeb37944ba33 (diff)
parent508b6b3b73888e3296ff638b32f15327e63b7b42 (diff)
downloadlinux-216875a594e0b4fc72830e3690b8fbe7430738e2.tar.gz
linux-216875a594e0b4fc72830e3690b8fbe7430738e2.tar.bz2
linux-216875a594e0b4fc72830e3690b8fbe7430738e2.zip
Merge branch 'xfs-consolidate-format-defs' into for-next
Diffstat (limited to 'fs/xfs/xfs_icache.h')
-rw-r--r--fs/xfs/xfs_icache.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/xfs/xfs_icache.h b/fs/xfs/xfs_icache.h
index 46748b86b12f..62f1f91c32cb 100644
--- a/fs/xfs/xfs_icache.h
+++ b/fs/xfs/xfs_icache.h
@@ -34,6 +34,14 @@ struct xfs_eofblocks {
#define SYNC_TRYLOCK 0x0002 /* only try to lock inodes */
/*
+ * tags for inode radix tree
+ */
+#define XFS_ICI_NO_TAG (-1) /* special flag for an untagged lookup
+ in xfs_inode_ag_iterator */
+#define XFS_ICI_RECLAIM_TAG 0 /* inode is to be reclaimed */
+#define XFS_ICI_EOFBLOCKS_TAG 1 /* inode has blocks beyond EOF */
+
+/*
* Flags for xfs_iget()
*/
#define XFS_IGET_CREATE 0x1