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)
committerDavid Sterba <dsterba@suse.cz>
Wed, 14 Jan 2015 18:23:48 +0000 (19:23 +0100)
commit1d4c08e0a60be356134d0c466744d0d4e16ebab0
tree99e3394eaf7542f187b1d70f7ec6d89b7d28fe1f
parent9c4f61f01d269815bb7c37be3ede59c5587747c6
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>
fs/btrfs/ctree.c
fs/btrfs/disk-io.c
fs/btrfs/inode.c
fs/btrfs/scrub.c