summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/modules/vfs_gpfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index bf47ee52f2..d80f5ebfcc 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -1343,10 +1343,11 @@ int vfs_gpfs_connect(struct vfs_handle_struct *handle, const char *service,
const char *user)
{
struct gpfs_config_data *config;
+ int ret;
smbd_gpfs_lib_init();
- int ret = SMB_VFS_NEXT_CONNECT(handle, service, user);
+ ret = SMB_VFS_NEXT_CONNECT(handle, service, user);
if (ret < 0) {
return ret;