aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_vnode.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-03-16 03:25:25 -0400
committerChristoph Hellwig <hch@brick.lst.de>2009-03-16 03:25:25 -0400
commitcb4c8cc1e92bc68c952e9a81a9fb9736bd8150de (patch)
treee6a7d219800682415989543e5cb197aa7ec04679 /fs/xfs/linux-2.6/xfs_vnode.h
parent8fab451e3cfe02a5e3dfc4bab3cfb975bc11fc09 (diff)
xfs: kill VN_BAD
Remove this rather pointless wrapper and use is_bad_inode directly. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vnode.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_vnode.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vnode.h b/fs/xfs/linux-2.6/xfs_vnode.h
index de9dc747b451..ad7fbead4c97 100644
--- a/fs/xfs/linux-2.6/xfs_vnode.h
+++ b/fs/xfs/linux-2.6/xfs_vnode.h
@@ -50,14 +50,6 @@ struct attrlist_cursor_kern;
50 the operation completes. */ 50 the operation completes. */
51 51
52/* 52/*
53 * Dealing with bad inodes
54 */
55static inline int VN_BAD(struct inode *vp)
56{
57 return is_bad_inode(vp);
58}
59
60/*
61 * Some useful predicates. 53 * Some useful predicates.
62 */ 54 */
63#define VN_MAPPED(vp) mapping_mapped(vp->i_mapping) 55#define VN_MAPPED(vp) mapping_mapped(vp->i_mapping)