diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-13 00:46:44 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-13 00:46:44 +0000 |
commit | 0923700ca3eaf369ee13d2c186f32c879cd1773b (patch) | |
tree | 5bb2ed7cacdc868579ee14e01c172cf6b35ec8a4 /nuttx/fs/nfs/nfs_vfsops.c | |
parent | 957e8beacd0767161f302a8986303f02649f212b (diff) | |
download | px4-nuttx-0923700ca3eaf369ee13d2c186f32c879cd1773b.tar.gz px4-nuttx-0923700ca3eaf369ee13d2c186f32c879cd1773b.tar.bz2 px4-nuttx-0923700ca3eaf369ee13d2c186f32c879cd1773b.zip |
NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4836 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_vfsops.c')
-rw-r--r-- | nuttx/fs/nfs/nfs_vfsops.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/nuttx/fs/nfs/nfs_vfsops.c b/nuttx/fs/nfs/nfs_vfsops.c index 3b5a12cbe..b8b8eb031 100644 --- a/nuttx/fs/nfs/nfs_vfsops.c +++ b/nuttx/fs/nfs/nfs_vfsops.c @@ -1890,17 +1890,6 @@ static int nfs_remove(struct inode *mountpt, const char *relpath) goto errout_with_semaphore; } - /* We found something at this path. Make sure that it is not a directory. */ - -#if 0 /* We have the attributes of the directory, not of the object to be deleted */ - if (fxdr_unsigned(uint32_t, fattr.fa_type) == NFDIR) - { - fdbg("ERROR: \"%s\" is a directory\n", relpath); - error = EISDIR; - goto errout_with_semaphore; - } -#endif - /* Create the REMOVE RPC call arguments */ ptr = (FAR uint32_t *)&remove; |