diff --git a/src/afs/VNOPS/afs_vnop_read.c b/src/afs/VNOPS/afs_vnop_read.c index 4ad9cff34b..886d081464 100644 --- a/src/afs/VNOPS/afs_vnop_read.c +++ b/src/afs/VNOPS/afs_vnop_read.c @@ -609,7 +609,7 @@ afs_UFSRead(avc, auio, acred, albn, abpp, noLock) struct vrequest treq; AFS_STATCNT(afs_UFSRead); - if (avc->vc_error) + if (avc && avc->vc_error) return EIO; /* check that we have the latest status info in the vnode cache */