Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'for-7.0-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux

Pull btrfs fix from David Sterba:
"One more fix for a potential extent tree corruption due to an
unexpected error value.

When the search for an extent item failed, it under some circumstances
was reported as a success to the caller"

* tag 'for-7.0-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
btrfs: fix incorrect return value after changing leaf in lookup_extent_data_ref()

+1 -1
+1 -1
fs/btrfs/extent-tree.c
··· 495 495 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); 496 496 if (key.objectid != bytenr || 497 497 key.type != BTRFS_EXTENT_DATA_REF_KEY) 498 - return ret; 498 + return -ENOENT; 499 499 500 500 ref = btrfs_item_ptr(leaf, path->slots[0], 501 501 struct btrfs_extent_data_ref);