Fixed ZFS over iSCSI snapshot rollback

I converted several zfs_request($class, ...) calls to $class->zfs_request(...) calls in ZFSPoolPlugin.pm and removed a superfluous $class parameter in ZFSPlugin.pm.

Fixes #816

Signed-off-by: Phillip Schichtel <phillip.public@schich.tel>
This commit is contained in:
Phillip Schichtel
2015-11-12 20:00:37 +01:00
committed by Dietmar Maurer
parent 2275d75fb9
commit 281f958706
2 changed files with 4 additions and 4 deletions

View File

@ -323,7 +323,7 @@ sub volume_snapshot_rollback {
$class->zfs_delete_lu($scfg, $volname);
$class->zfs_request($class, $scfg, undef, 'rollback', "$scfg->{pool}/$volname\@$snap");
$class->zfs_request($scfg, undef, 'rollback', "$scfg->{pool}/$volname\@$snap");
$class->zfs_import_lu($scfg, $volname);