diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-28 00:10:43 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-28 00:10:43 +0000 |
commit | c2853cbc580b343ff45c3befc1b484ffc2a2ecfe (patch) | |
tree | c93decb412e433193f06fc5602a9560119017d19 /nuttx/fs/nfs/nfs_socket.c | |
parent | 3f871cbbae8fc67b704f267fadbb932046afd5ca (diff) | |
download | px4-nuttx-c2853cbc580b343ff45c3befc1b484ffc2a2ecfe.tar.gz px4-nuttx-c2853cbc580b343ff45c3befc1b484ffc2a2ecfe.tar.bz2 px4-nuttx-c2853cbc580b343ff45c3befc1b484ffc2a2ecfe.zip |
NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4532 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_socket.c')
-rw-r--r-- | nuttx/fs/nfs/nfs_socket.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/fs/nfs/nfs_socket.c b/nuttx/fs/nfs/nfs_socket.c index 8e270bf6f..e821ce697 100644 --- a/nuttx/fs/nfs/nfs_socket.c +++ b/nuttx/fs/nfs/nfs_socket.c @@ -80,7 +80,7 @@ static struct rpc_program nfs3_program = * Public Variables ****************************************************************************/ -int nfs_ticks = rpcclnt_ticks; +int nfs_ticks; /**************************************************************************** * Private Functions @@ -163,7 +163,7 @@ int nfsx_request_xx(struct nfsmount *nm, int procnum, void *data) int error; struct nfsmount *nmp; struct rpcclnt *clnt; - struct rpc_reply reply; + struct rpc_reply *reply; int trylater_delay; nmp = nm; @@ -171,12 +171,12 @@ int nfsx_request_xx(struct nfsmount *nm, int procnum, void *data) tryagain: - memset(&reply, 0, sizeof(reply)); + memset(reply, 0, sizeof(struct rpc_reply)); - if ((error = rpcclnt_request(clnt, procnum, &reply)) != 0) + if ((error = rpcclnt_request(clnt, procnum, reply)) != 0) goto out; - data = reply->where; + data = reply->stat.where; if (reply->rpc_verfi.authtype != 0) { |