summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_icache.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-08-12 20:49:34 +1000
committerBen Myers <bpm@sgi.com>2013-08-12 16:37:57 -0500
commit7bb85ef3608bf740e285b4436776526b7afd4903 (patch)
tree7374d99ce57d694acd0d9c5380a9649866e948a5 /fs/xfs/xfs_icache.h
parent5c4d97d01a3a7a4a84fb05bfc439145ea25ba989 (diff)
downloadop-kernel-dev-7bb85ef3608bf740e285b4436776526b7afd4903.zip
op-kernel-dev-7bb85ef3608bf740e285b4436776526b7afd4903.tar.gz
xfs: move unrelated definitions out of xfs_inode.h
Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_icache.h')
-rw-r--r--fs/xfs/xfs_icache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/xfs/xfs_icache.h b/fs/xfs/xfs_icache.h
index a01afbb..e3f2ee0 100644
--- a/fs/xfs/xfs_icache.h
+++ b/fs/xfs/xfs_icache.h
@@ -24,6 +24,13 @@ struct xfs_perag;
#define SYNC_WAIT 0x0001 /* wait for i/o to complete */
#define SYNC_TRYLOCK 0x0002 /* only try to lock inodes */
+/*
+ * Flags for xfs_iget()
+ */
+#define XFS_IGET_CREATE 0x1
+#define XFS_IGET_UNTRUSTED 0x2
+#define XFS_IGET_DONTCACHE 0x4
+
int xfs_iget(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t ino,
uint flags, uint lock_flags, xfs_inode_t **ipp);
OpenPOWER on IntegriCloud