• Andrew Morton's avatar
    [PATCH] Fix orlov allocator boundary case · 48b2bd92
    Andrew Morton authored
    In the interests of SMP scalability the ext2 free blocks and free inodes
    counters are "approximate".  But there is a piece of code in the Orlov
    allocator which fails due to boundary conditions on really small
    filesystems.
    
    Fix that up via a final allocation pass which simply uses first-fit for
    allocation of a directory inode.
    48b2bd92
ialloc.c 20.9 KB