]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[XFS] no longer using io_vnode, as was remaining from 23 cherrypick
authorTim Shimmin <tes@chook.melbourne.sgi.com>
Tue, 16 Oct 2007 06:20:12 +0000 (16:20 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Tue, 16 Oct 2007 06:20:12 +0000 (16:20 +1000)
Because we cherrypicked SGI-Modid xfs-linux-melb:xfs-kern:29675a
and it depended on the sgi mod which removed io_vnode (which was
not cherrypicked in 23) it was hand modified.
This fixes things back up (to the originial mod) now we have moved
on again.

Reviewed-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_aops.c

index f766c7f74dc0edab7d5496d8b5f095696848bcf0..a252fa72f55b51821beaafe72fb4b0fde38b9b44 100644 (file)
@@ -180,7 +180,7 @@ xfs_setfilesize(
                ip->i_d.di_size = isize;
                ip->i_update_core = 1;
                ip->i_update_size = 1;
-               mark_inode_dirty_sync(vn_to_inode(ioend->io_vnode));
+               mark_inode_dirty_sync(ioend->io_inode);
        }
 
        xfs_iunlock(ip, XFS_ILOCK_EXCL);