aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_icache.h
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2014-11-28 03:25:04 +0000
committerDave Chinner <[email protected]>2014-11-28 03:25:04 +0000
commit4fb6e8ade2c70ef1a13f358963b3298fd8b72bcc (patch)
tree1371b8f183f09bd1959c05bce7a928826f230391 /fs/xfs/xfs_icache.h
parentxfs: move acl structures to xfs_format.h (diff)
downloadkernel-4fb6e8ade2c70ef1a13f358963b3298fd8b72bcc.tar.gz
kernel-4fb6e8ade2c70ef1a13f358963b3298fd8b72bcc.zip
xfs: merge xfs_ag.h into xfs_format.h
More on-disk format consolidation. A few declarations that weren't on-disk format related move into better suitable spots. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
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