Re: [PATCH] libfs/jffs2: Force the inode size to a non-zero value if a directory.

2018-03-14 Thread Chris Johns
On 14/03/2018 17:53, Sebastian Huber wrote: > On 13/03/18 22:45, Chris Johns wrote: >> On 13/03/2018 17:52, Sebastian Huber wrote: >>> On 13/03/18 07:50, Sebastian Huber wrote: On 13/03/18 07:47, Chris Johns wrote: > On 13/03/2018 17:18, Sebastian Huber wrote: >> On 13/03/18 00:49, Chr

Re: [PATCH] libfs/jffs2: Force the inode size to a non-zero value if a directory.

2018-03-14 Thread Sebastian Huber
On 13/03/18 22:45, Chris Johns wrote: On 13/03/2018 17:52, Sebastian Huber wrote: On 13/03/18 07:50, Sebastian Huber wrote: On 13/03/18 07:47, Chris Johns wrote: On 13/03/2018 17:18, Sebastian Huber wrote: On 13/03/18 00:49, Chris Johns wrote: Set the inode size to 256 to work around a newli

Re: [PATCH] libfs/jffs2: Force the inode size to a non-zero value if a directory.

2018-03-13 Thread Chris Johns
On 13/03/2018 17:52, Sebastian Huber wrote: > On 13/03/18 07:50, Sebastian Huber wrote: >> On 13/03/18 07:47, Chris Johns wrote: >>> On 13/03/2018 17:18, Sebastian Huber wrote: On 13/03/18 00:49, Chris Johns wrote: > Set the inode size to 256 to work around a newlib scandir check where a >

Re: [PATCH] libfs/jffs2: Force the inode size to a non-zero value if a directory.

2018-03-12 Thread Sebastian Huber
On 13/03/18 07:50, Sebastian Huber wrote: On 13/03/18 07:47, Chris Johns wrote: On 13/03/2018 17:18, Sebastian Huber wrote: On 13/03/18 00:49, Chris Johns wrote: Set the inode size to 256 to work around a newlib scandir check where a directory has to have a non-zero size to work. Set the size

Re: [PATCH] libfs/jffs2: Force the inode size to a non-zero value if a directory.

2018-03-12 Thread Sebastian Huber
On 13/03/18 07:47, Chris Johns wrote: On 13/03/2018 17:18, Sebastian Huber wrote: On 13/03/18 00:49, Chris Johns wrote: Set the inode size to 256 to work around a newlib scandir check where a directory has to have a non-zero size to work. Set the size to greater than 24 bytes, a small dirent si

Re: [PATCH] libfs/jffs2: Force the inode size to a non-zero value if a directory.

2018-03-12 Thread Chris Johns
On 13/03/2018 17:18, Sebastian Huber wrote: > On 13/03/18 00:49, Chris Johns wrote: >> Set the inode size to 256 to work around a newlib scandir check where a >> directory has to have a non-zero size to work. Set the size to greater than >> 24 bytes, a small dirent size so the allocator in scandir

Re: [PATCH] libfs/jffs2: Force the inode size to a non-zero value if a directory.

2018-03-12 Thread Sebastian Huber
On 13/03/18 00:49, Chris Johns wrote: Set the inode size to 256 to work around a newlib scandir check where a directory has to have a non-zero size to work. Set the size to greater than 24 bytes, a small dirent size so the allocator in scandir works. The newlib scandir code should be updated to