static int nfs_lookup_path_async_internal(struct nfs_context *nfs, struct nfs_cb_data *data, struct nfs_fh3 *fh);
-void nfs_set_auth(struct nfs_context *nfs, struct AUTH *auth)
+void nfs_set_auth(struct nfs_context *nfs, AUTH *auth)
{
rpc_set_auth(nfs->rpc, auth);
}
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;