disconnected-rw-20080922
[openafs.git] / src / afs / VNOPS / afs_vnop_open.c
index 037cc8e..82c2c64 100644 (file)
@@ -74,7 +74,7 @@ afs_open(struct vcache **avcp, afs_int32 aflags, struct AFS_UCRED *acred)
 #ifdef AFS_DISCON_ENV
     if (AFS_IS_DISCONNECTED && (afs_DCacheMissingChunks(tvc) != 0)) {
        ReleaseReadLock(&tvc->lock);
-       /*printf("Network is down in afs_open: missing chunks\n");*/
+       printf("Network is down in afs_open: missing chunks\n");
        code = ENETDOWN;
        goto done;
     }
@@ -96,6 +96,7 @@ afs_open(struct vcache **avcp, afs_int32 aflags, struct AFS_UCRED *acred)
                (tvc, ((tvc->states & CForeign) ? PRSFS_READ : PRSFS_LOOKUP),
                 &treq, CHECK_MODE_BITS)) {
                code = EACCES;
+               printf("afs_Open: no access for dir\n");
                goto done;
            }
        }