From: Nickolai Zeldovich Date: Sun, 27 Oct 2002 23:21:41 +0000 (+0000) Subject: As reported/suggested by Derek Atkins, use AFSTOI() instead of AFSTOV() X-Git-Tag: openafs-devel-1_3_50~547 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=08ed0bffcba0f62db9b79d5cc320d43572afe8cc;p=packages%2Fo%2Fopenafs.git As reported/suggested by Derek Atkins, use AFSTOI() instead of AFSTOV() in vcache2fakeinode(), since we really do want an inode. --- diff --git a/src/afs/LINUX/osi_vfsops.c b/src/afs/LINUX/osi_vfsops.c index e2784957b..255f9bc4a 100644 --- a/src/afs/LINUX/osi_vfsops.c +++ b/src/afs/LINUX/osi_vfsops.c @@ -475,5 +475,5 @@ void vcache2fakeinode(struct vcache *rootvp, struct vcache *mpvp) VATTR_NULL(&vattr); afs_CopyOutAttrs(rootvp, &vattr); - vattr2inode(AFSTOV(mpvp), &vattr); + vattr2inode(AFSTOI(mpvp), &vattr); }