diff options
author | Brian Foster <bfoster@redhat.com> | 2013-09-20 11:06:12 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-10-08 17:20:41 -0500 |
commit | 74564fb48cbfcb5b433c1baec1f3158ea638b203 (patch) | |
tree | 8c927f98ca8696c01e7ce8e325f4ebb511afc320 /fs/xfs/xfs_vnode.h | |
parent | 88877d2b9727a14431bfe48216ff86331ab47ea5 (diff) |
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.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/xfs/xfs_vnode.h b/fs/xfs/xfs_vnode.h index db14d0c08682..3e8e797c6d11 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 */ |