]> 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@serenity.furryterror.org>
Tue, 14 Apr 2015 02:30:25 +0000 (22:30 -0400)
commitb5f513516af21417c1524d6239d1c0b57a9012c0
tree9033ea7754af7f1e86376448eca10e6ae4835913
parente16513eef013978cb3d3f4abcbb314cbcb0daf57
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