victim = find_redundant_snapshot(&sl);
if (victim)
goto rm;
+ dss_msg("nothing to prune\n");
ret = 0;
goto out;
rm:
ret = wait_for_remove_process();
if (ret < 0)
goto out;
+ ret = -E_HOOK_FAILED;
if (snapshot_removal_status != HS_PRE_SUCCESS)
goto out;
}