[U-Boot] [U-Boot, v2, 1/8] JFFS2: Return early when file read not necessary

Tom Rini trini at konsulko.com
Thu Aug 13 15:17:23 CEST 2015


On Wed, Jul 01, 2015 at 04:38:22PM +1200, Mark Tomlinson wrote:

> If a destination is not provided, jffs2_1pass_read_inode() only
> returns the length of the file. In this case, avoid reading all
> the data nodes, and return as soon as the length of the file is
> known.
> 
> Signed-off-by: Mark Tomlinson <mark.tomlinson at alliedtelesis.co.nz>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150813/7f036129/attachment.sig>


More information about the U-Boot mailing list