]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/xfs/xfs_iocore.c
[MIPS] MT: Fix bug in multithreaded kernels.
[linux-2.6-omap-h63xx.git] / fs / xfs / xfs_iocore.c
index 06d710c9ce4b5dec4c9f4b72cadde1d5aa39c07a..b27b5d5be841bb7078c1d48e9936ea32da22b6e5 100644 (file)
@@ -52,16 +52,16 @@ STATIC xfs_fsize_t
 xfs_size_fn(
        xfs_inode_t             *ip)
 {
-       return (ip->i_d.di_size);
+       return XFS_ISIZE(ip);
 }
 
 STATIC int
 xfs_ioinit(
-       struct bhv_vfs          *vfsp,
+       struct xfs_mount        *mp,
        struct xfs_mount_args   *mntargs,
        int                     flags)
 {
-       return xfs_mountfs(vfsp, XFS_VFSTOM(vfsp), flags);
+       return xfs_mountfs(mp, flags);
 }
 
 xfs_ioops_t    xfs_iocore_xfs = {