search for: f12747c

Displaying 1 result from an estimated 1 matches for "f12747c".

Did you mean: 12747
2011 Nov 01
0
[PATCH] Btrfs: release metadata from global reserve if we have to fallback for unlink
...ing up properly. With this patch xfstest 83 doesn''t emit warnings about leaking space. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> --- fs/btrfs/inode.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index f12747c..3dd2d5d 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -2900,7 +2900,7 @@ out: if (!err) err = btrfs_block_rsv_migrate(trans->block_rsv, &root->fs_info->global_block_rsv, - btrfs_calc_trans_metadata_size(root, 1)); + trans->bytes_reserved); if (err) {...