Re: [U-Boot] [PATCH 1/1]: filesystems : add "file exists" cmd

2016-10-09 Thread Sergey Kubushyn
On Sat, 8 Oct 2016, Sergey Kubushyn wrote: On Sat, 8 Oct 2016, Tom Rini wrote: On Wed, Oct 05, 2016 at 12:38:01PM -0700, Sergey Kubushyn wrote: > This adds "file exists" commands to generic FS as well as to FAT, EXT4, > and UBIFS. Also adds "file size" command to UBIFS. > > The return

Re: [U-Boot] [PATCH 1/1]: filesystems : add "file exists" cmd

2016-10-08 Thread Sergey Kubushyn
On Sat, 8 Oct 2016, Tom Rini wrote: On Wed, Oct 05, 2016 at 12:38:01PM -0700, Sergey Kubushyn wrote: This adds "file exists" commands to generic FS as well as to FAT, EXT4, and UBIFS. Also adds "file size" command to UBIFS. The return value for "file exists" commands is REVERSED i.e. they

Re: [U-Boot] [PATCH 1/1]: filesystems : add "file exists" cmd

2016-10-08 Thread Tom Rini
On Wed, Oct 05, 2016 at 12:38:01PM -0700, Sergey Kubushyn wrote: > This adds "file exists" commands to generic FS as well as to FAT, EXT4, > and UBIFS. Also adds "file size" command to UBIFS. > > The return value for "file exists" commands is REVERSED i.e. they > return 1 if file exists and 0

[U-Boot] [PATCH 1/1]: filesystems : add "file exists" cmd

2016-10-05 Thread Sergey Kubushyn
This adds "file exists" commands to generic FS as well as to FAT, EXT4, and UBIFS. Also adds "file size" command to UBIFS. The return value for "file exists" commands is REVERSED i.e. they return 1 if file exists and 0 otherwise. This is a deliberate decision because those commands are supposed