diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-27 00:23:40 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-27 00:23:40 +0000 |
commit | 6be0b0839beb799e6d8ca12c155783b1a1d7291a (patch) | |
tree | e602c744e9a2819717430ec6ee2141acafca7779 /nuttx/fs/nfs/nfs_socket.c | |
parent | d7eb0482722b4e001035feaef84327cc1ca822ad (diff) | |
download | px4-nuttx-6be0b0839beb799e6d8ca12c155783b1a1d7291a.tar.gz px4-nuttx-6be0b0839beb799e6d8ca12c155783b1a1d7291a.tar.bz2 px4-nuttx-6be0b0839beb799e6d8ca12c155783b1a1d7291a.zip |
NFS update + another NX console driver file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4525 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_socket.c')
-rw-r--r-- | nuttx/fs/nfs/nfs_socket.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/fs/nfs/nfs_socket.c b/nuttx/fs/nfs/nfs_socket.c index 03e8dc4d0..8e270bf6f 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; +int nfs_ticks = rpcclnt_ticks; /**************************************************************************** * Private Functions @@ -158,7 +158,7 @@ void nfsx_safedisconnect(struct nfsmount *nmp) } #endif -int nfsx_request_xx(struct nfsmount *nm, int procnum) +int nfsx_request_xx(struct nfsmount *nm, int procnum, void *data) { int error; struct nfsmount *nmp; @@ -176,6 +176,7 @@ tryagain: if ((error = rpcclnt_request(clnt, procnum, &reply)) != 0) goto out; + data = reply->where; if (reply->rpc_verfi.authtype != 0) { |