Change rpc_nfs_readlink to rpc_nfs3_readlink
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 31 Dec 2013 23:46:32 +0000 (15:46 -0800)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 31 Dec 2013 23:46:32 +0000 (15:46 -0800)
lib/libnfs.c

index 59755dc9bdb48ba6651a94b88d9838ccf0c91322..af7dd0c55857215bec1153a9077134ca491bfde4 100644 (file)
@@ -2952,7 +2952,7 @@ static int nfs_readlink_continue_internal(struct nfs_context *nfs, struct nfs_cb
        args.symlink.data.data_len = data->fh.data.data_len; 
        args.symlink.data.data_val = data->fh.data.data_val; 
 
-       if (rpc_nfs_readlink_async(nfs->rpc, nfs_readlink_1_cb, &args, data) != 0) {
+       if (rpc_nfs3_readlink_async(nfs->rpc, nfs_readlink_1_cb, &args, data) != 0) {
                rpc_set_error(nfs->rpc, "RPC error: Failed to send READLINK call for %s", data->path);
                data->cb(-ENOMEM, nfs, rpc_get_error(nfs->rpc), data->private_data);
                free_nfs_cb_data(data);