Commit c4c23fb6 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'for-linus' of git://

Pull btrfs fix from Chris Mason:
 "It's a one liner for an error cleanup path that leads to crashes"

* 'for-linus' of git://
  Btrfs: fix kfree on list_head in btrfs_lookup_csums_range error cleanup
parents 0b0c7dbd 6e5aafb2
......@@ -413,7 +413,7 @@ int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end,
ret = 0;
while (ret < 0 && !list_empty(&tmplist)) {
sums = list_entry(&tmplist, struct btrfs_ordered_sum, list);
sums = list_entry(, struct btrfs_ordered_sum, list);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment