Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix intermittent EINVAL in ZFSPool.sync
Sometimes ZFSPool.sync doesn't pass the pool_name argument to lzc_sync correctly. lzc_sync sees an empty string. Replacing the self.name property access with the self.handle instance variable access seems to fix the problem, though I don't understand why. Fixes truenas#193
- Loading branch information