smi-s: Only detach volume when copytype not UNSYNCASSOC on volume_delete
smi-s: Only detach volume when copytype not UNSYNCASSOC on volume_delete

The code that was added previously was just checking syncstate and
in the case of a volume that was a snapshot we were incorrectly
trying to detach it.  For the case of snapshot we should either
deactivate or dissolve, but that needs to be investigated
further.

Signed-off-by: Tony Asleson <1ef2d381aa56d512126ddaacc29e68136e4fdf55@redhat.com>

tasleson/libstoragemgmt,tasleson/libstoragemgmt,cathay4t/libstoragemgmt,jumitche/libstoragemgmt,libstorage/libstoragemgmt,joehandzik/libstoragemgmt,joehandzik/libstoragemgmt,lazy404/libstoragemgmt,joehandzik/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,jumitche/libstoragemgmt,jumitche/libstoragemgmt,joehandzik/libstoragemgmt,libstorage/libstoragemgmt,lazy404/libstoragemgmt,lazy404/libstoragemgmt,tasleson/libstoragemgmt,cathay4t/libstoragemgmt,libstorage/libstoragemgmt,cathay4t/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,tasleson/libstoragemgmt,tasleson/libstoragemgmt,cathay4t/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,libstorage/libstoragemgmt,jumitche/libstoragemgmt,jumitche/libstoragemgmt,lazy404/libstoragemgmt,libstorage/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,cathay4t/libstoragemgmt