storage: driver: Split out code fixing pool state after deactivation
After a pool is made inactive the definition objects need to be updated (if a new definition is prepared) and transient pools need to be completely removed. Split out the code doing these steps into a separate function for later reuse. (cherry picked from commit aced6b23)
Showing
想要评论请 注册 或 登录