summaryrefslogtreecommitdiff
path: root/fs/xfs/linux-2.6/xfs_vnode.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-03-16 10:25:25 +0300
committerChristoph Hellwig <hch@brick.lst.de>2009-03-16 10:25:25 +0300
commitcb4c8cc1e92bc68c952e9a81a9fb9736bd8150de (patch)
treee6a7d219800682415989543e5cb197aa7ec04679 /fs/xfs/linux-2.6/xfs_vnode.h
parent8fab451e3cfe02a5e3dfc4bab3cfb975bc11fc09 (diff)
downloadlinux-cb4c8cc1e92bc68c952e9a81a9fb9736bd8150de.tar.xz
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;
the operation completes. */
/*
- * Dealing with bad inodes
- */
-static inline int VN_BAD(struct inode *vp)
-{
- return is_bad_inode(vp);
-}
-
-/*
* Some useful predicates.
*/
#define VN_MAPPED(vp) mapping_mapped(vp->i_mapping)