public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] ext4 delete file fails when ext4 extents enabled in filesystem
@ 2016-09-01 16:08 Thomas Schaefer
       [not found] ` <210402466.2eHZBqhtK4@sbruens-linux>
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Schaefer @ 2016-09-01 16:08 UTC (permalink / raw)
  To: u-boot

Hi Stefan,

applying patch [U-Boot,v4,06/13]ext4 and Michael Walles patch [U-Boot,v4,3/4]ext4, I'm now able to write into directories on ext4 fs from u-boot. However, when deleting a given file (i.e. when writing to an existing filename), u-boot crashes when ext4 extents are enabled.

Some debugging showd that blknr from 'read_allocated_block' function returns negative value. I can only guess, maybe its due to 64 bit values calculated from ee_start_hi and ee_start_lo entries in the ext4_extent structure.

When disabling extents in the ext4 fs, deleting a given file is working.


Best regards,
Thomas Sch?fer

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-05 14:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-01 16:08 [U-Boot] ext4 delete file fails when ext4 extents enabled in filesystem Thomas Schaefer
     [not found] ` <210402466.2eHZBqhtK4@sbruens-linux>
2016-09-02 11:43   ` Brüns, Stefan
2016-09-02 14:51     ` Thomas Schaefer
2016-09-05 14:37       ` Brüns, Stefan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox