summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_vnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_vnode.h')
-rw-r--r--fs/xfs/xfs_vnode.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/xfs/xfs_vnode.h b/fs/xfs/xfs_vnode.h
index 3e8e797..db14d0c 100644
--- a/fs/xfs/xfs_vnode.h
+++ b/fs/xfs/xfs_vnode.h
@@ -25,6 +25,14 @@ struct xfs_inode;
struct attrlist_cursor_kern;
/*
+ * Return values for xfs_inactive. A return value of
+ * VN_INACTIVE_NOCACHE implies that the file system behavior
+ * has disassociated its state and bhv_desc_t from the vnode.
+ */
+#define VN_INACTIVE_CACHE 0
+#define VN_INACTIVE_NOCACHE 1
+
+/*
* Flags for read/write calls - same values as IRIX
*/
#define IO_ISDIRECT 0x00004 /* bypass page cache */