Gregory Nutt
2d2fe301cb
Update some comments; link counter can be uint8_t; Add a debug assertion.
2017-02-07 15:50:54 -06:00
Gregory Nutt
cabc6cd413
Merged in david_s5/nuttx-5/david_s5/there-is-a-return-path-with-node-not-set-1486503652666 (pull request #204 )
...
There is a return path with node not set
Approved-by: Gregory Nutt
2017-02-07 21:42:57 +00:00
David Sidrane
d9044058b5
There is a return path with node not set
...
inode/fs_inoderemove.c: In function 'inode_unlink':
inode/fs_inoderemove.c:74:17: warning: 'node' may be used uninitialized in this function [-Wmaybe-uninitialized]
FAR struct inode *node;
2017-02-07 21:41:02 +00:00
Gregory Nutt
b758176963
stat(): Add logic to avoid infinite recursive in circular paths containing soft links.
2017-02-07 12:32:45 -06:00
Gregory Nutt
62a1f6f110
up_timer_initialize() is named incorrectly. The prefix should be the architecture name, not up_ since it is private to the architecture. up_timerisr() is similarly misnamed and should also be private since it is used only with the xyz_timerisr.c files. Also updat TODO list.
2017-02-07 10:35:04 -06:00
Gregory Nutt
9395704192
Kinetis, not Kinetics.
2017-02-07 08:20:52 -06:00
Gregory Nutt
54ce3817a5
SDIO interface: Handle all possible DMA combinations in all SDIO drivers.
2017-02-07 07:15:29 -06:00
Gregory Nutt
764f503150
Remove duplicate setting for SDIO_DMA from drivers/mmcsd/Kconfig
2017-02-06 13:16:52 -06:00
Gregory Nutt
1b32cb67cb
Soft link: Change how a value is returned so that _inode_linktarget will function in all of its use contexts.
2017-02-06 10:06:46 -06:00
Gregory Nutt
94e4d58fd2
Soft links: Fix a error in follow a link to a link to a mountpoint.
2017-02-06 08:46:43 -06:00
Marc Rechté
b459fd1529
Updates to Kinetis SDHC driver
2017-02-06 07:43:05 -06:00
Gregory Nutt
aefe32d33f
soft links: Fix a memory leak by correcting a reference counting problem.
2017-02-05 15:14:16 -06:00
Gregory Nutt
8d961ee137
Merge branch 'softlink'
2017-02-05 14:57:55 -06:00
Gregory Nutt
47ddfa346d
Soft links: Eliminate in-stack allocation of path working buffer needed for traversal fo paths with soft links.
2017-02-05 14:57:38 -06:00
Gregory Nutt
45fd98da88
Add macros support that will eventually allow dynamic allocation of strings need to support soft links.
2017-02-05 14:25:45 -06:00
Gregory Nutt
a5b46b788b
Update Document
2017-02-05 10:34:38 -06:00
Gregory Nutt
b473516c93
tools/noteinfo.c: A hack tool that I use to analyze some sched_note output. Needs a home and may be useful to others.
2017-02-05 09:53:56 -06:00
Gregory Nutt
8f2c7198ed
inode_find: Now takes struct inode_desc_s type as input. This was necessary before that structure includes some data storage. It was used within inode_find(), but that means that the life of the data was the life of inode_find(). That data must persist longer. It is now provided by the caller so that the life of the data persists for the entire life of the caller.
2017-02-05 09:51:42 -06:00
Gregory Nutt
990bed903e
Soft link: First cut fix for some soft link issues. The fix still has some issues of its own.
2017-02-04 16:35:49 -06:00
Gregory Nutt
4c68324d82
FS: Remove inode_search_nofollow(). That logic is no handled with a new field in the input argument structure.
2017-02-04 12:51:14 -06:00
Gregory Nutt
0c9935f8ac
FS: Remove inode_find_nofollow. Instead provide a bool nofollow argument to inode_find.
2017-02-04 11:46:54 -06:00
Gregory Nutt
36704b7d9c
FS: Argument is now a structure describing the search.
2017-02-04 11:21:44 -06:00
Gregory Nutt
8437650fc2
Soft links: Another fix to tree traveral logic
2017-02-03 16:34:50 -06:00
Gregory Nutt
982cfea490
Remove some unnecessary (and inappropriate) soft link logic
2017-02-03 15:50:41 -06:00
Gregory Nutt
70dcec7df7
readlink: Fix bugs from initial testing
2017-02-03 14:12:24 -06:00
Gregory Nutt
4417e74977
Soft links: Add an (untested) implementation of readlink()
2017-02-03 13:57:12 -06:00
Gregory Nutt
60ba5a5261
Soft links: Fix logic and remove kludge of last commit. Rename inode_dereference() as inode_linktarget() and make global.
2017-02-03 13:22:33 -06:00
Gregory Nutt
7c59e05305
FS: Separate inode_search() and inode_free() from fs_inode.c and put in separate files. Flesh out symbolic link logic in stat() and readdir(). There are still some issues with stat().
2017-02-03 11:23:57 -06:00
Gregory Nutt
5f4a26fee6
Merge branch 'softlink'
2017-02-03 09:25:17 -06:00
Gregory Nutt
741a221fdb
Soft link: make SOFTLINK configuration EXPERIMENTAL. There are still issues.
2017-02-03 09:24:43 -06:00
Gregory Nutt
6f47c276bc
Merge remote-tracking branch 'origin/master' into softlink
2017-02-03 07:42:50 -06:00
Gregory Nutt
8212fc144f
Cosmetic changes, mostly to comments.
2017-02-03 07:42:19 -06:00
Gregory Nutt
372e399bbc
Fix a typo
2017-02-03 07:36:25 -06:00
Gregory Nutt
d833144869
Soft Links: Fix several issues in initial testing
2017-02-02 19:37:58 -06:00
Gregory Nutt
b39d962021
Soft links: Update Documentation, rename file, add system calls
2017-02-02 17:11:08 -06:00
Gregory Nutt
35d738d85f
Soft links: Fix compile problems on first build with soft links enabled.
2017-02-02 15:24:39 -06:00
Gregory Nutt
bdc002fadc
Finish implementation of soft links.
2017-02-02 13:01:21 -06:00
Gregory Nutt
92305e400a
Soft links: Initial, incompete implementation
2017-02-02 10:39:41 -06:00
Gregory Nutt
74189d84e2
Cancellation points: Fix some backward logic in conditional compilation.
2017-02-02 06:42:41 -06:00
Gregory Nutt
b77c863d7f
STM32F429i-DISCO: Refresh configurations
2017-01-31 17:13:15 -06:00
Gregory Nutt
3898fc0a16
STM32F429-DISCO: Move some board initialization logic that is not usuable because it lacks the configuration options to make it so
2017-01-31 17:06:54 -06:00
Gregory Nutt
1c66c06315
STM32F7 SDMMC: Make sure that all SDMMC configuration variables begin with STM32F7_; Eliminate CONFIG_SDMMC1/2_DMA altogether. Does not appear to be used.
2017-01-31 14:27:50 -06:00
Gregory Nutt
e0f199e42e
Missing semicolon in previous commit
2017-01-31 14:18:20 -06:00
Gregory Nutt
154873a3d0
Timer logic: Add private function prototypes to eliminate a warning; Functions should not be inline because the may recurse.
2017-01-31 13:45:22 -06:00
Gregory Nutt
97482c9cdc
STM32F103-Minimum: Fix a compile error. CONFIG_STM32_TICKLESS_ONESHOT_TIMER is only defined in TICKLESS mode. Somebody has been hand editing .config files.
2017-01-31 12:35:05 -06:00
Gregory Nutt
b7d29086e0
STM32F7 SDMMC: Add support for single bit operation on SDMMC2
2017-01-31 12:22:06 -06:00
Gregory Nutt
8cc6dfb76d
Merged in david_s5/nuttx-4/david_s5/stm32_sdioc-edited-online-with-bitbucket-1485885689555 (pull request #202 )
...
stm32_sdio.c edited online with Bitbucket
2017-01-31 18:04:45 +00:00
David Sidrane
9066b4c093
stm32_sdio.c edited online with Bitbucket
2017-01-31 18:01:40 +00:00
Gregory Nutt
3dbdb3bb31
CONFIG_SDIO_DMA: Was been defined in several low-level architecute Kconfig files, but used at the highest levels in the code. Both are bad and both are fixed with this commit
2017-01-31 11:52:00 -06:00
Gregory Nutt
2a4791f4ee
Removed dmasupported() method from the SDIO interface. That is now a bit in the cpapability set.
2017-01-31 09:51:15 -06:00