afs-evalmountpoint-return-code-resync-20010826
authorNickolai Zeldovich <kolya@mit.edu>
Mon, 27 Aug 2001 04:35:06 +0000 (04:35 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 27 Aug 2001 04:35:06 +0000 (04:35 +0000)
resync error codes so they work like they did before afs-lookup-check-evalmountpoint-return-20010221

src/afs/VNOPS/afs_vnop_lookup.c

index 06b75f6..4ee681d 100644 (file)
@@ -133,7 +133,7 @@ EvalMountPoint(avc, advc, avolpp, areq)
        volnamep = &avc->linkData[1];
        tcell = afs_GetCell(avc->fid.Cell, READ_LOCK);
     }
-    if (!tcell) return ENOENT;
+    if (!tcell) return ENODEV;
 
     mtptCell = tcell->cell;               /* The cell for the mountpoint */
     if (tcell->lcellp) {