warning fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
4a55fa87d5
commit
757d0ccc76
@ -85,7 +85,7 @@ pub fn apply_initial_flags(
|
|||||||
fd: RawFd,
|
fd: RawFd,
|
||||||
) -> Result<(), Error> {
|
) -> Result<(), Error> {
|
||||||
let entry_flags = Flags::from_bits_truncate(metadata.stat.flags);
|
let entry_flags = Flags::from_bits_truncate(metadata.stat.flags);
|
||||||
apply_chattr(fd, entry_flags.to_initial_chattr(), flags.to_initial_chattr());
|
apply_chattr(fd, entry_flags.to_initial_chattr(), flags.to_initial_chattr())?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user