]> git.sur5r.net Git - bacula/bacula/commitdiff
Implement incrementation of delta_seq (I think)
authorKern Sibbald <kern@sibbald.com>
Sat, 20 Nov 2010 08:10:56 +0000 (09:10 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 25 Nov 2010 13:55:51 +0000 (14:55 +0100)
bacula/src/filed/fd_plugins.c
bacula/src/findlib/find.h

index 467cea104e17171b4757df8a8da363d5081e5677..4120bcf2f1ef549a3d83ac472a211a020696fcb5 100644 (file)
@@ -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;
             }
index 30e7c98fddf0e4b6569ae7872dc1e251bae8db2f..10cd6c05be1e0f31e4586cc9cf163e3731ecb21a 100644 (file)
@@ -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 */