[XFS] move v_iocount from bhv_vnode to xfs_inode

struct bhv_vnode is on it's way out, so move the I/O count to the XFS
inode.

SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29497a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
This commit is contained in:
Christoph Hellwig
2007-08-29 11:46:28 +10:00
committed by Tim Shimmin
parent 09262b4339
commit b677c210ce
8 changed files with 44 additions and 34 deletions

View File

@@ -1209,7 +1209,7 @@ xfs_sync_inodes(
* place after this point
*/
if (flags & SYNC_IOWAIT)
vn_iowait(vp);
vn_iowait(ip);
xfs_ilock(ip, XFS_ILOCK_SHARED);
}