summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-10-14 14:46:51 -0400
committerJosef Bacik <josef@redhat.com>2011-10-19 15:12:59 -0400
commit3880a1b46d87a6b030c31889875befc745d95dff (patch)
treeb693669e3a58f39e706bca7f2da8a71211be99de /fs/btrfs/extent-tree.c
parentb24e03db0df3e9164c9649db12fecc8c2d81b0d1 (diff)
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/extent-tree.c')
0 files changed, 0 insertions, 0 deletions