From: Kern Sibbald Date: Sat, 20 Nov 2010 08:10:56 +0000 (+0100) Subject: Implement incrementation of delta_seq (I think) X-Git-Tag: Release-5.2.1~924 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=89372ee9ce8b67b0c0b3b5c012ec8f279a6800fb;p=bacula%2Fbacula Implement incrementation of delta_seq (I think) --- 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 */