ufsread-save-the-oops-for-where-we-expect-it-20020624

based on comment from matt@slackers.net
This commit is contained in:
Derrick Brashear 2002-06-24 16:23:40 +00:00
parent 68de4bbb02
commit 60659d2c8f

View File

@ -609,7 +609,7 @@ afs_UFSRead(avc, auio, acred, albn, abpp, noLock)
struct vrequest treq; struct vrequest treq;
AFS_STATCNT(afs_UFSRead); AFS_STATCNT(afs_UFSRead);
if (avc->vc_error) if (avc && avc->vc_error)
return EIO; return EIO;
/* check that we have the latest status info in the vnode cache */ /* check that we have the latest status info in the vnode cache */