On Thu, Apr 05, 2018 at 05:42:14PM +0800, Anand Jain wrote: > > > > @@ -3926,11 +3925,11 @@ int btrfs_balance(struct btrfs_balance_control > > *bctl, > > return ret; > > out: > > if (bctl->flags & BTRFS_BALANCE_RESUME) > > - __cancel_balance(fs_info); > > - else { > > + reset_balance_state(fs_info); > > reset_balance_state() is something unrelated. More over compile fails > at this patch. > > ---- > fs/btrfs/volumes.c: In function ‘btrfs_balance’: > fs/btrfs/volumes.c:3928:3: error: implicit declaration of function > ‘reset_balance_state’; did you mean ‘insert_balance_item’? > [-Werror=implicit-function-declaration] > reset_balance_state(fs_info);
Right, it looks like a misapplied fixup for patch "btrfs: cleanup helpers that reset balance state" that's farther in the series. Will fix. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html