free_nfs_cb_data(data);
return;
}
+ /* NFS TCP connections we want to autoreconnect after sessions are torn down (due to inactivity or error) */
+ rpc_set_autoreconnect(rpc);
}
new_export = strdup(export);
if (nfs->server != NULL) {
free(nfs->server);
- nfs->server = NULL;
}
nfs->server = new_server;
if (nfs->export != NULL) {
free(nfs->export);
- nfs->export = NULL;
}
nfs->export = new_export;
data->nfs = nfs;