From: Derrick Brashear Date: Tue, 7 Oct 2008 04:41:02 +0000 (+0000) Subject: DEVEL15-linux-fakestat-revalidate-to-validity-20081006 X-Git-Tag: openafs-devel-1_5_54~11 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=21a1bebfeb9ae1b84ea275748c5b529c0756a9e8;p=packages%2Fo%2Fopenafs.git DEVEL15-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 b780f52cf..c680b6787 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