DEVEL15-disconnected-cache-type-genericization-miss-20090316
authorDerrick Brashear <shadow@dementia.org>
Mon, 16 Mar 2009 19:59:51 +0000 (19:59 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 16 Mar 2009 19:59:51 +0000 (19:59 +0000)
LICENSE IPL10

the cache type union change missed this town...

(cherry picked from commit d26b3688625231465e17e39f082ed31f230dc667)

src/afs/afs_disconnected.c

index 274056b..68486c5 100644 (file)
@@ -699,7 +699,7 @@ int afs_ProcessOpCreate(struct vcache *avc, struct vrequest *areq,
            return ENOMEM;
        }
        ObtainReadLock(&tdc->lock);
-       tfile = afs_CFileOpen(&tdc->f.inode);
+       tfile = afs_CFileOpen(tdc->f.inode);
        code = afs_CFileRead(tfile, 0, ttargetName, tlen);
        ttargetName[tlen-1] = '\0';
        afs_CFileClose(tfile);