summaryrefslogtreecommitdiff
path: root/nuttx/fs/nfs/nfs_vfsops.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-14 13:08:48 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-14 13:08:48 +0000
commit6672906e2f5e10b6066af17b76b70b9e6f796ae8 (patch)
tree71349ba6a475002c918c95bc25f01ed538f43ae4 /nuttx/fs/nfs/nfs_vfsops.c
parent04caa18a834d94bd469e7c78971f677d4a17a401 (diff)
downloadpx4-nuttx-6672906e2f5e10b6066af17b76b70b9e6f796ae8.tar.gz
px4-nuttx-6672906e2f5e10b6066af17b76b70b9e6f796ae8.tar.bz2
px4-nuttx-6672906e2f5e10b6066af17b76b70b9e6f796ae8.zip
Minor change to NFS interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4840 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_vfsops.c')
-rw-r--r--nuttx/fs/nfs/nfs_vfsops.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/nuttx/fs/nfs/nfs_vfsops.c b/nuttx/fs/nfs/nfs_vfsops.c
index c2d610a76..414053a58 100644
--- a/nuttx/fs/nfs/nfs_vfsops.c
+++ b/nuttx/fs/nfs/nfs_vfsops.c
@@ -1642,14 +1642,7 @@ static int nfs_bind(struct inode *blkdriver, const void *data, void **handle)
int error;
memcpy(&args, data, sizeof(struct nfs_args));
- if (args.version == NFS_ARGSVERSION)
- {
- args.flags &= ~(NFSMNT_INTERNAL | NFSMNT_NOAC);
- }
- else
- {
- return -EINVAL;
- }
+ args.flags &= ~(NFSMNT_INTERNAL | NFSMNT_NOAC);
if ((args.flags & (NFSMNT_NFSV3 | NFSMNT_RDIRPLUS)) == NFSMNT_RDIRPLUS)
{