[PATCH 4.17 108/336] btrfs: qgroup: Finish rescan when hit the last leaf of extent tree