[PATCH openEuler-1.0-LTS 040/103] share_pool: Fix a potential bug branch