diff options
author | Josef Bacik <josef@redhat.com> | 2011-10-14 18:46:51 (GMT) |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2011-10-19 19:12:59 (GMT) |
commit | 3880a1b46d87a6b030c31889875befc745d95dff (patch) | |
tree | b693669e3a58f39e706bca7f2da8a71211be99de /fs/btrfs/transaction.c | |
parent | b24e03db0df3e9164c9649db12fecc8c2d81b0d1 (diff) | |
download | linux-3880a1b46d87a6b030c31889875befc745d95dff.tar.xz |
Btrfs: reserve some space for an orphan item when unlinking
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: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
0 files changed, 0 insertions, 0 deletions