src/client/: pass dummy flags for xattrs and fcaps to pxar encoder/decoder.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
54b14ad741
commit
4add706092
|
@ -43,7 +43,9 @@ impl PxarBackupStream {
|
|||
|
||||
let child = thread::spawn(move|| {
|
||||
let mut writer = unsafe { std::fs::File::from_raw_fd(tx) };
|
||||
if let Err(err) = pxar::Encoder::encode(path, &mut dir, &mut writer, all_file_systems, verbose) {
|
||||
let no_xattrs = false;
|
||||
let no_fcaps = false;
|
||||
if let Err(err) = pxar::Encoder::encode(path, &mut dir, &mut writer, all_file_systems, verbose, no_xattrs, no_fcaps) {
|
||||
eprintln!("pxar encode failed - {}", err);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -31,7 +31,9 @@ impl PxarDecodeWriter {
|
|||
|
||||
let child = thread::spawn(move|| {
|
||||
let mut reader = unsafe { std::fs::File::from_raw_fd(rx) };
|
||||
let mut decoder = pxar::SequentialDecoder::new(&mut reader);
|
||||
let no_xattrs = false;
|
||||
let no_fcaps = false;
|
||||
let mut decoder = pxar::SequentialDecoder::new(&mut reader, no_xattrs, no_fcaps);
|
||||
|
||||
if let Err(err) = decoder.restore(&base, & |path| {
|
||||
if verbose {
|
||||
|
|
Loading…
Reference in New Issue