diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vnode.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_vnode.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vnode.h b/fs/xfs/linux-2.6/xfs_vnode.h index fb49e0f42d31..314ca18bc603 100644 --- a/fs/xfs/linux-2.6/xfs_vnode.h +++ b/fs/xfs/linux-2.6/xfs_vnode.h | |||
@@ -65,11 +65,6 @@ extern void vn_iowait(struct xfs_inode *ip); | |||
65 | extern void vn_iowake(struct xfs_inode *ip); | 65 | extern void vn_iowake(struct xfs_inode *ip); |
66 | extern void vn_ioerror(struct xfs_inode *ip, int error, char *f, int l); | 66 | extern void vn_ioerror(struct xfs_inode *ip, int error, char *f, int l); |
67 | 67 | ||
68 | static inline int vn_count(struct inode *vp) | ||
69 | { | ||
70 | return atomic_read(&vp->i_count); | ||
71 | } | ||
72 | |||
73 | #define IHOLD(ip) \ | 68 | #define IHOLD(ip) \ |
74 | do { \ | 69 | do { \ |
75 | ASSERT(atomic_read(&VFS_I(ip)->i_count) > 0) ; \ | 70 | ASSERT(atomic_read(&VFS_I(ip)->i_count) > 0) ; \ |