summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_icache.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-11-28 06:25:04 +0300
committerDave Chinner <david@fromorbit.com>2014-11-28 06:25:04 +0300
commit4fb6e8ade2c70ef1a13f358963b3298fd8b72bcc (patch)
tree1371b8f183f09bd1959c05bce7a928826f230391 /fs/xfs/xfs_icache.h
parent5beda58bf269febe67eca91d5d5dc7c7d392232a (diff)
downloadlinux-4fb6e8ade2c70ef1a13f358963b3298fd8b72bcc.tar.xz
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 <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
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