From: Ronnie Sahlberg Date: Thu, 26 Dec 2013 00:46:52 +0000 (-0800) Subject: MOUNT: The wrappers for the old MOUNT rpc calls should call the new functions and... X-Git-Tag: upstream/1.9.6^2~160 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;ds=sidebyside;h=eca514653d1437e8ff0714f945cdbb717daf73ab;p=deb_libnfs.git MOUNT: The wrappers for the old MOUNT rpc calls should call the new functions and not recurse --- diff --git a/mount/mount.c b/mount/mount.c index 2d2aa06..b3f87ff 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -102,7 +102,7 @@ int rpc_mount3_dump_async(struct rpc_context *rpc, rpc_cb cb, void *private_data int rpc_mount_dump_async(struct rpc_context *rpc, rpc_cb cb, void *private_data) { - return rpc_mount_dump_async(rpc, cb, private_data); + return rpc_mount3_dump_async(rpc, cb, private_data); } int rpc_mount3_umnt_async(struct rpc_context *rpc, rpc_cb cb, char *export, void *private_data) @@ -156,7 +156,7 @@ int rpc_mount3_umntall_async(struct rpc_context *rpc, rpc_cb cb, void *private_d int rpc_mount_umntall_async(struct rpc_context *rpc, rpc_cb cb, void *private_data) { - return rpc_mount_umntall_async(rpc, cb, private_data); + return rpc_mount3_umntall_async(rpc, cb, private_data); } int rpc_mount3_export_async(struct rpc_context *rpc, rpc_cb cb, void *private_data) @@ -180,7 +180,7 @@ int rpc_mount3_export_async(struct rpc_context *rpc, rpc_cb cb, void *private_da int rpc_mount_export_async(struct rpc_context *rpc, rpc_cb cb, void *private_data) { - return rpc_mount_export_async(rpc, cb, private_data); + return rpc_mount3_export_async(rpc, cb, private_data); } char *mountstat3_to_str(int st)