From: Derrick Brashear Date: Tue, 7 Oct 2008 04:41:15 +0000 (+0000) Subject: STABLE14-linux-fakestat-revalidate-to-validity-20081006 X-Git-Tag: openafs-stable-1_4_8pre2~6 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c96bf32c35f8d6950786048656cbd22648e29f6d;p=packages%2Fo%2Fopenafs.git STABLE14-linux-fakestat-revalidate-to-validity-20081006 LICENSE IPL10 we had something which fakestat was faking, but the inode had no ops, so we ended up ENOTDIRing. oops. (cherry picked from commit 2cfe5d555e2e9eaedf5107a34d5a2f74092b98b1) --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 25b2703c9..0da8b975f 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -744,7 +744,7 @@ afs_linux_revalidate(struct dentry *dp) credp = crref(); code = afs_getattr(vcp, &vattr, credp); if (!code) - vattr2inode(AFSTOV(vcp), &vattr); + afs_fill_inode(AFSTOV(vcp), &vattr); AFS_GUNLOCK(); #ifdef AFS_LINUX24_ENV