Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: free correct amount of space in btrfs_delayed_inode_reserve_me…
…tadata Following commit f218ea6 ("btrfs: delayed-inode: Remove wrong qgroup meta reservation calls") this function now reserves num_bytes, rather than the fixed amount of nodesize. As such this requires the same amount to be freed in case of failure. Fix this by adjusting the amount we are freeing. Fixes: f218ea6 ("btrfs: delayed-inode: Remove wrong qgroup meta reservation calls") CC: [email protected] # 4.19+ Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
- Loading branch information