[PATCH 4.14 085/246] btrfs: qgroup: Finish rescan when hit the last leaf of extent tree