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-5.2.1~908 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a482a057535ded915656d782bab2f0eed65c1f6;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 &&