]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/xfs/linux-2.6/xfs_vnode.c
[XFS] kill vn_to_inode
[linux-2.6-omap-h63xx.git] / fs / xfs / linux-2.6 / xfs_vnode.c
index 25488b6d98817241e1bb99f6e7b5701701fc6538..4af972b0166cbfa3df23fe8d4e2fdcb8caaa4803 100644 (file)
@@ -94,7 +94,7 @@ vn_hold(
 
        XFS_STATS_INC(vn_hold);
 
-       inode = igrab(vn_to_inode(vp));
+       inode = igrab(vp);
        ASSERT(inode);
 
        return vp;
@@ -108,7 +108,7 @@ vn_hold(
  */
 static inline int xfs_icount(struct xfs_inode *ip)
 {
-       bhv_vnode_t *vp = XFS_ITOV_NULL(ip);
+       bhv_vnode_t *vp = VFS_I(ip);
 
        if (vp)
                return vn_count(vp);