From: Derrick Brashear Date: Wed, 24 Feb 2010 04:57:14 +0000 (-0500) Subject: irix cachemgr inode abstraction correction X-Git-Tag: openafs-devel-1_5_73~133 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=14ff060627f5c4b64121f9f7978966bc53486e18;p=packages%2Fo%2Fopenafs.git irix cachemgr inode abstraction correction if the XFS function takes a dcache_id_t, pass that and not its child Change-Id: Ic68ae440be0df05320fe0a0b24e2ffa8e4de45b9 Reviewed-on: http://gerrit.openafs.org/1378 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/IRIX/osi_file.c b/src/afs/IRIX/osi_file.c index 10ca92d6e..c4e7f2b08 100644 --- a/src/afs/IRIX/osi_file.c +++ b/src/afs/IRIX/osi_file.c @@ -22,14 +22,14 @@ extern struct osi_dev cacheDev; extern struct vfs *afs_cacheVfsp; vnode_t * -afs_XFSIGetVnode(afs_dcache_id_t *ainode) +afs_XFSIGetVnode(ino_t ainode) { struct xfs_inode *ip; int error; vnode_t *vp; if ((error = - xfs_igetinode(afs_cacheVfsp, (dev_t) cacheDev.dev, ainode->ufs, &ip))) { + xfs_igetinode(afs_cacheVfsp, (dev_t) cacheDev.dev, ainode, &ip))) { osi_Panic("afs_XFSIGetVnode: xfs_igetinode failed, error=%d", error); } vp = XFS_ITOV(ip);