warning fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-07-14 10:37:14 +02:00
parent 4a55fa87d5
commit 757d0ccc76

View File

@ -85,7 +85,7 @@ pub fn apply_initial_flags(
fd: RawFd,
) -> Result<(), Error> {
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(())
}