mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
Windows: Panic if RDR_Initialize SERVICE_DISABLED
If RDR_Initialize() fails with ERROR_SERVICE_DISABLED it means that the AFSRedir.sys driver loaded but the AFSRedirLib.sys driver library cannot be loaded. In this situation neither the RDR nor SMB interfaces can successfully be used. Panic! Change-Id: I09d30a86b9d72b9077d4c7578dab52314cce559a Reviewed-on: http://gerrit.openafs.org/8514 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
e3373c5ad2
commit
5ab61bbc5c
@ -1387,8 +1387,13 @@ afsd_Main(DWORD argc, LPTSTR *argv)
|
||||
cm_VolStatus_Service_Started();
|
||||
|
||||
code = RDR_Initialize();
|
||||
RDR_Initialized = !code;
|
||||
afsi_log("RDR_Initialize returned: (code = %d)", code);
|
||||
if ( code == ERROR_SERVICE_DISABLED) {
|
||||
afsi_log("RDR_Initialize failed: 1058 (Unable to load AFSRedirLib.sys)");
|
||||
osi_panic(reason, __FILE__, __LINE__);
|
||||
} else {
|
||||
RDR_Initialized = !code;
|
||||
afsi_log("RDR_Initialize returned: (code = %d)", code);
|
||||
}
|
||||
|
||||
if (RDR_Initialized) {
|
||||
if (cm_sysNameCount)
|
||||
|
Loading…
Reference in New Issue
Block a user