Btrfs: remove search_start and search_end from find_free_extent and callers
authorJosef Bacik <josef@redhat.com>
Wed, 18 Jan 2012 15:56:06 +0000 (10:56 -0500)
committerChris Mason <chris.mason@oracle.com>
Mon, 26 Mar 2012 18:42:51 +0000 (14:42 -0400)
commit81c9ad237c604adec79fd4d4034264c6669e0ab3
tree673fe5a1c491d43fae6f4309aa699b4e328d534e
parent285ff5af6ce358e73f53b55c9efadd4335f4c2ff
Btrfs: remove search_start and search_end from find_free_extent and callers

We have been passing nothing but (u64)-1 to find_free_extent for search_end in
all of the callers, so it's completely useless, and we've always been passing 0
in as search_start, so just remove them as function arguments and move
search_start into find_free_extent.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/inode.c