-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
1 parent
350adb2
commit 915f094
Showing
9 changed files
with
523 additions
and
905 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.