summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorStefan Brüns <[email protected]>2016-09-06 04:36:44 +0200
committerTom Rini <[email protected]>2016-09-23 09:02:36 -0400
commita321abd54fa025114df2002b33ea17adc6b998b7 (patch)
tree4c688840fd324dcf46b55410a90521057aeaa1d7 /scripts/basic
parentb96c3c7292214fb81b1b355bf5a6d53cf9996d1e (diff)
ext4: Scan all directory blocks for space when inserting a new entry
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 <[email protected]> Reviewed-by: Lukasz Majewski <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions