From 31f8ebda5dad6e162b5256d90d41bf88faded233 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 12 May 2021 09:14:47 +0200 Subject: [PATCH] Revert "Fix #7321 About issue when stopping jobs waiting for resources" This reverts commit 8ad330d63a73a59af5e5e26905bf453fa5534991. --- bacula/src/stored/askdir.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bacula/src/stored/askdir.c b/bacula/src/stored/askdir.c index 165dbfbf1..1c3125092 100644 --- a/bacula/src/stored/askdir.c +++ b/bacula/src/stored/askdir.c @@ -866,16 +866,6 @@ bool dir_ask_sysop_to_create_appendable_volume(DCR *dcr) Dmsg1(dbglvl, "Poll timeout in create append vol on device %s\n", dev->print_name()); continue; } - - if (stat == W_WAKE) { - /* Job could be marked to stopped, need to break */ - Mmsg0(dev->errmsg, _("Job was stopped by the user.\n")); - Jmsg(jcr, M_FATAL, 0, "%s", dev->errmsg); - Dmsg1(dbglvl, "Job marked to be stopped. Gave up waiting on device %s\n", dev->print_name()); - dev->poll = false; - return false; - } - if (stat == W_TIMEOUT) { if (!double_dev_wait_time(dev)) { Mmsg(dev->errmsg, _("Max time exceeded waiting to mount Storage Device %s for Job %s\n"), -- 2.47.3