pxar: pass feature_flags to encoder/decoder instead of individual flags
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
687407741b
commit
b344461b33
@ -34,11 +34,9 @@ impl <'a, R: Read + Seek> Decoder<'a, R> {
|
||||
pub fn new(reader: &'a mut R) -> Result<Self, Error> {
|
||||
|
||||
let root_end = reader.seek(SeekFrom::End(0))?;
|
||||
let no_xattrs = false;
|
||||
let no_fcaps = false;
|
||||
|
||||
Ok(Self {
|
||||
inner: SequentialDecoder::new(reader, no_xattrs, no_fcaps),
|
||||
inner: SequentialDecoder::new(reader, CA_FORMAT_DEFAULT),
|
||||
root_start: 0,
|
||||
root_end: root_end,
|
||||
})
|
||||
|
Reference in New Issue
Block a user