fix(zfspv): mounting the volume if it is ready

Instead of checking for the finalizer, checking for the
volume state to be ready is more intuitive before mounting it.

Also removed duplicate if statement for btrfs which was added while resolveing
the merge conflict in https://github.com/openebs/zfs-localpv/pull/175.

Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
Pawan 2020-07-21 11:51:41 +05:30 committed by Kiran Mova
parent b6b4f0bb52
commit e00a6b9ae2
3 changed files with 3 additions and 8 deletions

View file

@ -0,0 +1 @@
mounting the volume if it is ready