avoid-assert-for-missing-vnodes-20060928

specify the correct number of parameters for VForceOffline_r()
This commit is contained in:
Jeffrey Altman 2006-09-28 13:58:04 +00:00
parent 4bfe736b91
commit 0fe7b3a058

View File

@ -262,7 +262,7 @@ DoCloneIndex(Volume * rwvp, Volume * clvp, VnodeClass class, int reclone)
Log("IH_INC failed: %x, %s, %u errno %d\n", Log("IH_INC failed: %x, %s, %u errno %d\n",
V_linkHandle(rwvp), PrintInode(NULL, rwinode), V_linkHandle(rwvp), PrintInode(NULL, rwinode),
V_parentId(rwvp), errno); V_parentId(rwvp), errno);
VForceOffline_r(rwvp); VForceOffline_r(rwvp, 0);
ERROR_EXIT(EIO); ERROR_EXIT(EIO);
} }
inodeinced = 1; inodeinced = 1;
@ -315,7 +315,7 @@ DoCloneIndex(Volume * rwvp, Volume * clvp, VnodeClass class, int reclone)
Log("IH_DEC failed: %x, %s, %u errno %d\n", Log("IH_DEC failed: %x, %s, %u errno %d\n",
V_linkHandle(rwvp), PrintInode(NULL, rwinode), V_linkHandle(rwvp), PrintInode(NULL, rwinode),
V_parentId(rwvp), errno); V_parentId(rwvp), errno);
VForceOffline_r(rwvp); VForceOffline_r(rwvp, 0);
ERROR_EXIT(EIO); ERROR_EXIT(EIO);
} }
} }