• J
    Btrfs: reserve some space for an orphan item when unlinking · 3880a1b4
    Josef Bacik 提交于
    In __unlink_start_trans() if we don't have enough room for a reservation we will
    check to see if the unlink will free up space.  If it does that's great, but we
    will still could add an orphan item, so we need to reserve enough space to add
    the orphan item.  Do this and migrate the space the global reserve so it all
    works out right.  Thanks,
    Signed-off-by: NJosef Bacik <josef@redhat.com>
    3880a1b4
inode.c 197.5 KB