NFS update

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4808 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-06-06 21:51:03 +00:00
parent 84feda595c
commit f341d5abcf
8 changed files with 236 additions and 163 deletions
+5 -5
View File
@@ -124,13 +124,13 @@ int nfs_connect(struct nfsmount *nmp)
rpc = (struct rpcclnt *)kzalloc(sizeof(struct rpcclnt));
if (!rpc)
{
ndbg("Failed to allocate rpc structure\n");
fdbg("Failed to allocate rpc structure\n");
return -ENOMEM;
}
rpc->rc_prog = &nfs3_program;
nvdbg("nfs connect!\n");
fvdbg("nfs connect!\n");
/* translate nfsmnt flags -> rpcclnt flags */
@@ -224,12 +224,12 @@ tryagain:
if (error == ESTALE)
{
ndbg("%s: ESTALE on mount from server \n",
fdbg("%s: ESTALE on mount from server \n",
nmp->nm_rpcclnt->rc_prog->prog_name);
}
else
{
ndbg("%s: unknown error %d from server \n",
fdbg("%s: unknown error %d from server \n",
nmp->nm_rpcclnt->rc_prog->prog_name, error);
}
@@ -251,4 +251,4 @@ int nfs_nmcancelreqs(struct nfsmount *nmp)
{
return 0; //rpcclnt_cancelreqs(nmp->nm_rpcclnt);
}
#endif
#endif