NFS updates

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4647 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-04-23 20:33:25 +00:00
parent 31640bb6a6
commit 0073ac83ff
7 changed files with 13 additions and 54 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ $(BIN): $(OBJS)
done ; )
.depend: Makefile $(SRCS)
@$(MKDEP) --dep-path . $(MMAPDEPPATH) $(FATDEPPATH) $(ROMFSDEPPATH) $(NXFFSDEPPATH) \
@$(MKDEP) --dep-path . $(MMAPDEPPATH) $(FATDEPPATH) $(ROMFSDEPPATH) $(NXFFSDEPPATH) $(NFSDEPPATH) \
$(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
+1 -1
View File
@@ -46,5 +46,5 @@ CSRCS += rpc_clnt.c nfs_socket.c nfs_util.c nfs_vfsops.c
# Argument for dependency checking
NFSDEPPATH = --dep-path rpc
NFSDEPPATH = --dep-path nfs
endif
+3 -2
View File
@@ -48,6 +48,7 @@
#include <nuttx/fs/nfs.h>
#include "nfs.h"
#include "rpc.h"
#include "rpc_v2.h"
#include "nfs_proto.h"
@@ -219,12 +220,12 @@ tryagain:
if (error == ESTALE)
{
ndbg("%s: ESTALE on mount from server \n",
nmp->nm_rpcclnt.rc_prog->prog_name);
nmp->nm_rpcclnt->rc_prog->prog_name);
}
else
{
ndbg("%s: unknown error %d from server \n",
nmp->nm_rpcclnt.rc_prog->prog_name, error);
nmp->nm_rpcclnt->rc_prog->prog_name, error);
}
goto out;
+1
View File
@@ -69,6 +69,7 @@
#include <net/if.h>
#include <netinet/in.h>
#include "nfs.h"
#include "rpc_v2.h"
#include "rpc.h"
#include "nfs_proto.h"