Btrfs: use next_state in find_first_extent_bit
authorLiu Bo <bo.liu@linux.alibaba.com>
Wed, 22 Aug 2018 19:14:53 +0000 (03:14 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:28 +0000 (17:23 +0200)
commit9688e9a99e4b2d60d78fbaa270e7e0c70d90f6c2
tree4082424f35e9fd3c96f67fc8d7d2450fe0f92ac7
parentb72c3aba09a53fc7c1824250d71180ca154517a7
Btrfs: use next_state in find_first_extent_bit

As next_state() is already defined to get the next state, use it in
find_first_extent_bit. No functional changes.

Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c