mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
avoid-assert-for-missing-vnodes-20060921
right now if a vnode is missing when we try to clone, we could assert. ick.
This commit is contained in:
parent
86f4e7620b
commit
b613480bd5
@ -262,7 +262,8 @@ DoCloneIndex(Volume * rwvp, Volume * clvp, VnodeClass class, int reclone)
|
||||
Log("IH_INC failed: %x, %s, %u errno %d\n",
|
||||
V_linkHandle(rwvp), PrintInode(NULL, rwinode),
|
||||
V_parentId(rwvp), errno);
|
||||
assert(0);
|
||||
VForceOffline_r(rwvp);
|
||||
ERROR_EXIT(EIO);
|
||||
}
|
||||
inodeinced = 1;
|
||||
}
|
||||
@ -314,7 +315,8 @@ DoCloneIndex(Volume * rwvp, Volume * clvp, VnodeClass class, int reclone)
|
||||
Log("IH_DEC failed: %x, %s, %u errno %d\n",
|
||||
V_linkHandle(rwvp), PrintInode(NULL, rwinode),
|
||||
V_parentId(rwvp), errno);
|
||||
assert(0);
|
||||
VForceOffline_r(rwvp);
|
||||
ERROR_EXIT(EIO);
|
||||
}
|
||||
}
|
||||
/* And if the directory was marked clone, unmark it */
|
||||
|
Loading…
Reference in New Issue
Block a user