From: Derrick Brashear Date: Tue, 7 Oct 2008 04:40:49 +0000 (+0000) Subject: linux-fakestat-revalidate-to-validity-20081006 X-Git-Tag: openafs-devel-1_5_61~779 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2cfe5d555e2e9eaedf5107a34d5a2f74092b98b1;p=packages%2Fo%2Fopenafs.git 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. --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 0d66e6e4e..eb57bb9b6 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -831,7 +831,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