]> err.no Git - linux-2.6/blobdiff - fs/xfs/xfs_inode.c
[XFS] kill shouty XFS_ITOV_NULL macro
[linux-2.6] / fs / xfs / xfs_inode.c
index bedc66163176484b5dc7e7911637ab0059e6c0a8..46cecba0992802eb86f6b0e53d7e1917bdf7ce1b 100644 (file)
@@ -1077,7 +1077,7 @@ xfs_ialloc(
        }
        ASSERT(ip != NULL);
 
-       vp = XFS_ITOV(ip);
+       vp = VFS_I(ip);
        ip->i_d.di_mode = (__uint16_t)mode;
        ip->i_d.di_onlink = 0;
        ip->i_d.di_nlink = nlink;
@@ -3480,7 +3480,7 @@ xfs_iflush_all(
                        continue;
                }
 
-               vp = XFS_ITOV_NULL(ip);
+               vp = VFS_I(ip);
                if (!vp) {
                        XFS_MOUNT_IUNLOCK(mp);
                        xfs_finish_reclaim(ip, 0, XFS_IFLUSH_ASYNC);