Clean up NFS user interface; Fix NFS disconnect bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4841 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
252cf94de1
commit
ff8f3e4a68
@ -1344,10 +1344,8 @@ int cmd_nfsmount(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
data.sotype = SOCK_DGRAM;
|
data.sotype = SOCK_DGRAM;
|
||||||
data.flags = NFS_NFSV3;
|
|
||||||
data.retrans = 3;
|
|
||||||
data.path = rpath;
|
data.path = rpath;
|
||||||
data.timeo = 7;
|
data.flags = 0; /* 0=Use all defaults */
|
||||||
|
|
||||||
/* Perform the mount */
|
/* Perform the mount */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user