mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 00:43:34 +08:00
NFS updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4647 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
+1
-1
@@ -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 $@
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user