mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
aix-volser-fix-retry-20050413
FIXES 18240 destroy lock only after we gave up permanently
This commit is contained in:
parent
40e03e078f
commit
9307de2fe7
@ -197,7 +197,6 @@ FSYNC_clientFinis(void)
|
|||||||
close(FS_sd);
|
close(FS_sd);
|
||||||
#endif
|
#endif
|
||||||
FS_sd = -1;
|
FS_sd = -1;
|
||||||
Lock_Destroy(&FSYNC_handler_lock);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -325,6 +325,7 @@ VInitVolumePackage(ProgramType pt, int nLargeVnodes, int nSmallVnodes,
|
|||||||
if (programType == volumeUtility && connect) {
|
if (programType == volumeUtility && connect) {
|
||||||
if (!VConnectFS()) {
|
if (!VConnectFS()) {
|
||||||
Log("Unable to connect to file server; aborted\n");
|
Log("Unable to connect to file server; aborted\n");
|
||||||
|
Lock_Destroy(&FSYNC_handler_lock);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user