Skip to content
Commit 5a5003df authored by Dan Carpenter's avatar Dan Carpenter Committed by Chris Mason
Browse files

btrfs: delayed-ref: double free in btrfs_add_delayed_tree_ref()



There is a cut and paste error so instead of freeing "head_ref", we free
"ref" twice.

Fixes: 3368d001 ('btrfs: qgroup: Record possible quota-related extent for qgroup.')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent c40b7b06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment