diff options
author | Nikolay Borisov <[email protected]> | 2021-02-22 18:40:42 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2021-03-02 16:56:04 +0100 |
commit | 0f9c03d824f6f522d3bc43629635c9765546ebc5 (patch) | |
tree | f441ebe6bff6d8ee9a16f64edd116de6448a6992 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c55a4319c4f2c3ba0a385b1ebc454fa283cfe920 (diff) |
btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
Following commit f218ea6c4792 ("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: f218ea6c4792 ("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]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions