diff options
author | Josef Bacik <josef@redhat.com> | 2011-10-14 20:46:51 +0200 |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2011-10-19 21:12:59 +0200 |
commit | 3880a1b46d87a6b030c31889875befc745d95dff (patch) | |
tree | b693669e3a58f39e706bca7f2da8a71211be99de /fs/btrfs/transaction.c | |
parent | Btrfs: release trans metadata bytes before flushing delayed refs (diff) | |
download | linux-3880a1b46d87a6b030c31889875befc745d95dff.tar.xz linux-3880a1b46d87a6b030c31889875befc745d95dff.zip |
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