summaryrefslogtreecommitdiff
path: root/fs/Makefile
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2019-04-14 00:50:49 +0300
committerTom Rini <trini@konsulko.com>2019-04-27 00:53:15 +0300
commit633967f9818cb6a0e87ffa8cba33148a5bcc6edb (patch)
treed39538815561b60490eb32e5d394609090b7e69f /fs/Makefile
parent74ee9dc502de45bf44a8d5b94458ef12437085f4 (diff)
downloadu-boot-633967f9818cb6a0e87ffa8cba33148a5bcc6edb.tar.xz
fs: btrfs: fix false negatives in ROOT_ITEM search
ROOT_ITEMs in btrfs are referenced without knowing their actual "offset" value. To perform these searches using only two items from the key, the btrfs driver uses a special "btrfs_search_tree_key_type" function. The algorithm used by that function to transform a 3-tuple search into a 2-tuple search was subtly broken, leading to items not being found if they were the first in their tree node. This commit fixes btrfs_search_tree_key_type to properly behave in these situations. Signed-off-by: Pierre Bourdon <delroth@gmail.com> Cc: Marek Behun <marek.behun@nic.cz>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions