From: Ronnie Sahlberg Date: Thu, 26 Dec 2013 17:11:05 +0000 (-0800) Subject: Change rpc_mount_* to rpc_mount3_* and make it explicit which version of X-Git-Tag: upstream/1.9.6^2~157 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=eda77ec3f3ca58b7f401f120fa3da20bf90537d1;p=deb_libnfs.git Change rpc_mount_* to rpc_mount3_* and make it explicit which version of the protocol we are using. --- diff --git a/lib/libnfs.c b/lib/libnfs.c index c183a46..7f4cab6 100644 --- a/lib/libnfs.c +++ b/lib/libnfs.c @@ -726,7 +726,7 @@ static void nfs_mount_5_cb(struct rpc_context *rpc, int status, void *command_da return; } - if (rpc_mount_mnt_async(rpc, nfs_mount_6_cb, nfs->export, data) != 0) { + if (rpc_mount3_mnt_async(rpc, nfs_mount_6_cb, nfs->export, data) != 0) { data->cb(-ENOMEM, nfs, command_data, data->private_data); free_nfs_cb_data(data); return; @@ -754,7 +754,7 @@ static void nfs_mount_4_cb(struct rpc_context *rpc, int status, void *command_da return; } - if (rpc_mount_null_async(rpc, nfs_mount_5_cb, data) != 0) { + if (rpc_mount3_null_async(rpc, nfs_mount_5_cb, data) != 0) { data->cb(-ENOMEM, nfs, command_data, data->private_data); free_nfs_cb_data(data); return; @@ -3916,7 +3916,7 @@ static void mount_export_4_cb(struct rpc_context *rpc, int status, void *command return; } - if (rpc_mount_export_async(rpc, mount_export_5_cb, data) != 0) { + if (rpc_mount3_export_async(rpc, mount_export_5_cb, data) != 0) { data->cb(rpc, -ENOMEM, command_data, data->private_data); free_mount_cb_data(data); return;