From d91d05c44537941a522fdb277a2bde0b9400c8e9 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 20 Nov 2010 09:10:56 +0100 Subject: [PATCH] Implement incrementation of delta_seq (I think) --- bacula/src/filed/fd_plugins.c | 1 + bacula/src/findlib/find.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/filed/fd_plugins.c b/bacula/src/filed/fd_plugins.c index 467cea104e..4120bcf2f1 100644 --- a/bacula/src/filed/fd_plugins.c +++ b/bacula/src/filed/fd_plugins.c @@ -398,6 +398,7 @@ int plugin_save(JCR *jcr, FF_PKT *ff_pkt, bool top_level) ff_pkt->link = link.c_str(); if (sp.flags & FO_DELTA) { ff_pkt->flags |= FO_DELTA; + ff_pkt->delta_seq++; /* make new delta sequence number */ } else { ff_pkt->flags &= ~FO_DELTA; } diff --git a/bacula/src/findlib/find.h b/bacula/src/findlib/find.h index 30e7c98fdd..10cd6c05be 100644 --- a/bacula/src/findlib/find.h +++ b/bacula/src/findlib/find.h @@ -202,7 +202,6 @@ struct FF_PKT { int32_t object_index; /* Object index */ int32_t object_len; /* Object length */ int32_t object_compression; /* Type of compression for object */ - uint32_t delta_seq; /* Delta sequence number */ struct f_link *linked; /* Set if this file is hard linked */ int type; /* FT_ type from above */ int ff_errno; /* errno */ -- 2.39.5