summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_vnode.h
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2013-09-20 15:06:12 (GMT)
committerBen Myers <bpm@sgi.com>2013-10-08 22:20:41 (GMT)
commit74564fb48cbfcb5b433c1baec1f3158ea638b203 (patch)
tree8c927f98ca8696c01e7ce8e325f4ebb511afc320 /fs/xfs/xfs_vnode.h
parent88877d2b9727a14431bfe48216ff86331ab47ea5 (diff)
downloadlinux-74564fb48cbfcb5b433c1baec1f3158ea638b203.tar.xz
xfs: clean up xfs_inactive() error handling, kill VN_INACTIVE_[NO]CACHE
The xfs_inactive() return value is meaningless. Turn xfs_inactive() into a void function and clean up the error handling appropriately. Kill the VN_INACTIVE_[NO]CACHE directives as they are not relevant to Linux. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vnode.h')
-rw-r--r--fs/xfs/xfs_vnode.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/xfs/xfs_vnode.h b/fs/xfs/xfs_vnode.h
index db14d0c..3e8e797 100644
--- a/fs/xfs/xfs_vnode.h
+++ b/fs/xfs/xfs_vnode.h
@@ -25,14 +25,6 @@ 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 */