diff options
author | Benny Halevy <bhalevy@panasas.com> | 2009-04-01 09:21:55 -0400 |
---|---|---|
committer | Benny Halevy <bhalevy@panasas.com> | 2009-06-17 13:46:21 -0400 |
commit | f50c7000817e7cb4e676ac5d911a82c0f3fd226f (patch) | |
tree | 96c9c6ec5f8ee2fcdfe7b44dfdc274b652d7881b /fs/nfs/nfs4proc.c | |
parent | 43652ad55342d9146d8035932101a5814b22315a (diff) |
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>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 5ef1022b7e6f..b0ec8ff96eb7 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -1960,10 +1960,11 @@ static int _nfs4_proc_readlink(struct inode *inode, struct page *page, | |||
1960 | .pglen = pglen, | 1960 | .pglen = pglen, |
1961 | .pages = &page, | 1961 | .pages = &page, |
1962 | }; | 1962 | }; |
1963 | struct nfs4_readlink_res res; | ||
1963 | struct rpc_message msg = { | 1964 | struct rpc_message msg = { |
1964 | .rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_READLINK], | 1965 | .rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_READLINK], |
1965 | .rpc_argp = &args, | 1966 | .rpc_argp = &args, |
1966 | .rpc_resp = NULL, | 1967 | .rpc_resp = &res, |
1967 | }; | 1968 | }; |
1968 | 1969 | ||
1969 | return rpc_call_sync(NFS_CLIENT(inode), &msg, 0); | 1970 | return rpc_call_sync(NFS_CLIENT(inode), &msg, 0); |