[PATCH 4.9 050/144] btrfs: qgroup: Finish rescan when hit the last leaf of extent tree