Soft link: First cut fix for some soft link issues. The fix still has some issues of its own.

This commit is contained in:
Gregory Nutt
2017-02-04 16:35:49 -06:00
parent 4c68324d82
commit 990bed903e
7 changed files with 228 additions and 69 deletions
+1 -2
View File
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
@@ -79,7 +78,7 @@ FAR struct inode *inode_find(FAR const char *path, FAR const char **relpath,
* references on the node.
*/
memset(&desc, 0, sizeof(struct inode_search_s));
RESET_SEARCH(&desc);
desc.path = path;
#ifdef CONFIG_PSEUDOFS_SOFTLINKS
desc.nofollow = nofollow;