From: Kern Sibbald Date: Sat, 20 Nov 2010 16:15:00 +0000 (+0100) Subject: Ensure that sparse stream is set when delta enabled X-Git-Tag: Release-7.0.0~1373 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=46da93a90b0c2dce47a2f9ee9415cef0c9fd1af8;p=bacula%2Fbacula Ensure that sparse stream is set when delta enabled --- diff --git a/bacula/src/findlib/attribs.c b/bacula/src/findlib/attribs.c index 6bbfb0a785..c1594ec990 100644 --- a/bacula/src/findlib/attribs.c +++ b/bacula/src/findlib/attribs.c @@ -91,6 +91,9 @@ int select_data_stream(FF_PKT *ff_pkt) } else { stream = STREAM_FILE_DATA; } + if (ff_pkt->flags & FO_DELTA) { + stream = STREAM_SPARSE_DATA; + } /** Encryption is only supported for file data */ if (stream != STREAM_FILE_DATA && stream != STREAM_WIN32_DATA &&