summaryrefslogtreecommitdiff
path: root/include/iomux.h
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2016-09-06 04:36:44 +0200
committerTom Rini <trini@konsulko.com>2016-09-23 09:02:36 -0400
commita321abd54fa025114df2002b33ea17adc6b998b7 (patch)
tree4c688840fd324dcf46b55410a90521057aeaa1d7 /include/iomux.h
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 <stefan.bruens@rwth-aachen.de> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include/iomux.h')
0 files changed, 0 insertions, 0 deletions