storage: Fix bug of fs pool destroying
Regression introduced by commit 258e06c8, "ret" could be set to 1 or 0 by virStorageBackendFileSystemIsMounted before goto cleanup. This could mislead the callers (up to the public API virStoragePoolDestroy) to return success even the underlying umount command fails. (cherry picked from commit f4ac0656)
Showing
想要评论请 注册 或 登录