From: Tom Rini Date: Fri, 23 Sep 2016 15:57:00 -0400 Subject: [U-Boot] [U-Boot, v5, 04/16] ext4: Scan all directory blocks for space when inserting a new entry In-Reply-To: <8e9c21b4d9b1404996f0d93b7ce11de1@rwthex-w2-b.rwth-ad.de> References: <8e9c21b4d9b1404996f0d93b7ce11de1@rwthex-w2-b.rwth-ad.de> Message-ID: <20160923195700.GH4884@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Sep 06, 2016 at 04:36:44AM +0200, Stefan Br?ns wrote: > Previously, only the last directory block was scanned for available space. > Instead, scan all blocks back to front, and if no sufficient space is > found, eventually append a new block. > Blocks are only appended if the directory does not use extents or the new > block would require insertion of indirect blocks, as the old code does. > > Signed-off-by: Stefan Br?ns > Reviewed-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: