nuttx/fs
Xiang Xiao 915f094a74 NFS bug fix and improvement (#412)
* fs/nfs: Remove all nfs_checkmount call.  The check just waste cpu cycle since nobody will set nm_mounted to false, and remove the unused fields(nm_mounted and n_flags) and related flags too
* fs/nfs: Fix the definition not confirm to RFC 1813 and other minor issue(unused, typo, duplication, alignment...)
* fs/nfs: Always represent error with negative number and remove the unused arguments from function
* fs/nfs: Set socket receive timeout with nfs_args->timeo and fix warning:

nfs/nfs.h:59:28: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 #define NFS_TIMEO          (1 * NFS_HZ)   /* Default timeout = 1 second */
                            ^
nfs/nfs_vfsops.c:1857:23: note: in expansion of macro 'NFS_TIMEO'
   nprmt.timeo       = NFS_TIMEO;
                            ^
                       ^~~~~~~~~

* fs/nfs: Update the file attribute correctly in nfs_filetruncate and simplify the attrbitue conversion between NFSv3 and NuttX
* fs/nfs: Remove the unfinished and buggy EXCLUSIVE creation mode
* fs/nfs: Call nfs_fsinfo in nfs_bind instead of nfs_statfs since we should update the buffer size before transfer happen, and handle the attribute existence variance correctly.
* fs/nfs: Shouldn't insert node into list again in nfs_dup and fix other typo issue
* fs/nfs: Should skip . and .. in nfs_readdir
* fs/nfs: Remove the unnecessary dynamic allocation and the duplicated root handle storage
2020-03-01 14:55:01 -06:00
..
aio Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
binfs Fix typos in comments 2020-02-12 14:07:56 +01:00
cromfs Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
dirent Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
driver Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
fat Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
hostfs Run codespell -w against all files 2020-02-22 14:45:07 -06:00
inode Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
littlefs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
mmap Run codespell -w against all files 2020-02-22 14:45:07 -06:00
mount Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
mqueue Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
nfs NFS bug fix and improvement (#412) 2020-03-01 14:55:01 -06:00
nxffs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
partition Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
procfs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
romfs various fixes (#49) 2020-01-07 09:06:02 -06:00
semaphore Run codespell -w against all files 2020-02-22 14:45:07 -06:00
shm fs/: Remove dangling space at the end of lines. 2017-06-28 13:17:55 -06:00
smartfs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
spiffs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
tmpfs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
unionfs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
userfs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
vfs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
.gitignore
fs_initialize.c Remove some block comments before empty code sections 2016-04-11 18:16:04 -06:00
Kconfig Addes the ARM mbed littlefs to NuttX 2019-01-09 14:26:51 -06:00
Makefile CONFIG_NFILE_DESCRIPTORS=0 can no longer be used to disable the file system. NuttX with no file system does not make sense. 2019-02-11 12:09:26 -06:00