nfs41: use nfs4_readlink_res
[linux-2.6-block.git] / fs / nfs / nfs4proc.c
index 5ef1022b7e6fc774a2b59d108dae8f2d7d86a8ab..b0ec8ff96eb7a42e3ffcd7da69c7e3176e78642e 100644 (file)
@@ -1960,10 +1960,11 @@ static int _nfs4_proc_readlink(struct inode *inode, struct page *page,
                .pglen    = pglen,
                .pages    = &page,
        };
+       struct nfs4_readlink_res res;
        struct rpc_message msg = {
                .rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_READLINK],
                .rpc_argp = &args,
-               .rpc_resp = NULL,
+               .rpc_resp = &res,
        };
 
        return rpc_call_sync(NFS_CLIENT(inode), &msg, 0);