api updates
[tridge/hacksm.git] / hacksmd.c
index 6c78367727cd729ae421681eb7e8c3f20468d613..d134d99d0065dc571da5bc8e6fafd175e38b711f 100644 (file)
--- a/hacksmd.c
+++ b/hacksmd.c
@@ -60,6 +60,11 @@ static void hsm_init(void)
                exit(1);
        }
 
+       if (hsm_store_connect(store_ctx, "/gpfs") != 0) {
+               printf("Failed to connect to HSM store\n");
+               exit(1);
+       }
+
        while ((ret = dm_init_service(&dmapi_version)) == -1) {
                if (errno != errcode) {
                        errcode = errno;