Print this page
NEX-5010 Fix for NEX-4680 introduced cstyle issues
Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
NEX-4680 NEF needs Sun_HBA_* API to be working after library reload
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
*** 42,51 ****
--- 42,52 ----
#endif
#include <stdio.h>
#include <time.h>
#include "hbaapi.h"
#include "vendorhbaapi.h"
+ #include "hbaapi-sun.h"
#include <stdlib.h>
#ifdef USESYSLOG
#include <syslog.h>
#endif
*** 968,978 ****
DeleteCriticalSection(&_hbaapi_APSE_mutex);
DeleteCriticalSection(&_hbaapi_TE_mutex);
DeleteCriticalSection(&_hbaapi_LE_mutex);
#endif
! return HBA_STATUS_OK;
}
/*
* The API used to use fixed size tables as its primary data structure.
* Indexing from 1 to N identified each adapters. Now the adapters are
--- 969,979 ----
DeleteCriticalSection(&_hbaapi_APSE_mutex);
DeleteCriticalSection(&_hbaapi_TE_mutex);
DeleteCriticalSection(&_hbaapi_LE_mutex);
#endif
! return (Sun_HBA_FreeLibrary());
}
/*
* The API used to use fixed size tables as its primary data structure.
* Indexing from 1 to N identified each adapters. Now the adapters are