nfs41: use nfs4_readlink_res
In preparation for nfs41 sequence processing. Signed-off-by: Andy Admason <andros@netapp.com> [define nfs4_readlink_res] Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user