Change rpc_nfs_create to rpc_nfs3_create
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 31 Dec 2013 23:21:20 +0000 (15:21 -0800)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 31 Dec 2013 23:21:20 +0000 (15:21 -0800)
lib/libnfs.c

index cf9ad1321ad9a0a150aa78c5f94154c5283d617d..270a4416741d08f857498a4923daca4cd36eaad3 100644 (file)
@@ -2130,7 +2130,7 @@ static int nfs_creat_continue_internal(struct nfs_context *nfs, struct nfs_cb_da
        args.how.createhow3_u.obj_attributes.mode.set_it = 1;
        args.how.createhow3_u.obj_attributes.mode.set_mode3_u.mode = data->continue_int;
 
-       if (rpc_nfs_create_async(nfs->rpc, nfs_creat_1_cb, &args, data) != 0) {
+       if (rpc_nfs3_create_async(nfs->rpc, nfs_creat_1_cb, &args, data) != 0) {
                rpc_set_error(nfs->rpc, "RPC error: Failed to send CREATE call for %s/%s", data->path, str);
                data->cb(-ENOMEM, nfs, rpc_get_error(nfs->rpc), data->private_data);
                free_nfs_cb_data(data);