Re: [PATCH] Btrfs: use next_state in find_first_extent_bit

2018-08-23 Thread David Sterba
On Thu, Aug 23, 2018 at 03:14:53AM +0800, Liu Bo wrote: > As next_state() is already defined to get the next state, update us to use > the helper. > > No functional changes. > > Signed-off-by: Liu Bo Added to misc-next, thanks.

Re: [PATCH] Btrfs: use next_state in find_first_extent_bit

2018-08-22 Thread Qu Wenruo
On 2018/8/23 上午3:14, Liu Bo wrote: > As next_state() is already defined to get the next state, update us to use > the helper. > > No functional changes. > > Signed-off-by: Liu Bo Reviewed-by: Qu Wenruo Thanks, Qu > --- > fs/btrfs/extent_io.c | 7 +-- > 1 file changed, 1 insertion(+),

[PATCH] Btrfs: use next_state in find_first_extent_bit

2018-08-22 Thread Liu Bo
As next_state() is already defined to get the next state, update us to use the helper. No functional changes. Signed-off-by: Liu Bo --- fs/btrfs/extent_io.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index