X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Ffindlib%2Fcreate_file.c;h=09a645c5bf20235f11ab932f5a938dc8b253863c;hb=ab26b486ce077fe2a52e6afd7f8d7a3b4fb4442d;hp=cd032b98173326ab3d25df681c0bf94a257e47e3;hpb=0593b7cc01f608d1839baa4c3992a585631ad1cd;p=bacula%2Fbacula diff --git a/bacula/src/findlib/create_file.c b/bacula/src/findlib/create_file.c index cd032b9817..09a645c5bf 100644 --- a/bacula/src/findlib/create_file.c +++ b/bacula/src/findlib/create_file.c @@ -269,7 +269,7 @@ int create_file(JCR *jcr, ATTR *attr, BFILE *bfd, int replace) /* Timeout open() in 60 seconds */ if (attr->type == FT_FIFO) { Dmsg0(400, "Set FIFO timer\n"); - tid = start_thread_timer(pthread_self(), 60); + tid = start_thread_timer(jcr, pthread_self(), 60); } else { tid = NULL; } @@ -389,6 +389,9 @@ int create_file(JCR *jcr, ATTR *attr, BFILE *bfd, int replace) return CF_CREATED; } + case FT_DELETED: + Qmsg2(jcr, M_INFO, 0, _("Original file %s have been deleted: type=%d\n"), attr->fname, attr->type); + break; /* The following should not occur */ case FT_NOACCESS: case FT_NOFOLLOW: