]> git.hungrycats.org Git - linux/commit
btrfs: expand btrfs_find_item if found_key is NULL
authorDavid Sterba <dsterba@suse.cz>
Fri, 2 Jan 2015 18:36:14 +0000 (19:36 +0100)
committerZygo Blaxell <zblaxell@waya.furryterror.org>
Fri, 27 Mar 2015 03:26:17 +0000 (23:26 -0400)
commit9ca32d07f54a7c2e5ef61c58e82bd60d51cb9cd4
treeded01c74a99c664be6ab97bdbed6478ec9beef5a
parentb2842b972442a600e36a6dc3ff3c62d2880b2216
btrfs: expand btrfs_find_item if found_key is NULL

If the found_key is NULL, then btrfs_find_item becomes a verbose wrapper
for simple btrfs_search_slot.

After we've removed all such callers, passing a NULL key is not valid
anymore.

Signed-off-by: David Sterba <dsterba@suse.cz>
(cherry picked from commit 1d4c08e0a60be356134d0c466744d0d4e16ebab0)
fs/btrfs/ctree.c
fs/btrfs/disk-io.c
fs/btrfs/inode.c
fs/btrfs/scrub.c