]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/tools/fs.rs
update to nix 0.14, use code from proxmox:tools
[proxmox-backup.git] / src / tools / fs.rs
index a51d50ceb49afbbd2d2c333c3ec041dd51ec2198..9eb48c6bfc30d5a85044ddce8f56cf4758322c46 100644 (file)
@@ -220,8 +220,6 @@ where
     }
 }
 
-use nix::{convert_ioctl_res, request_code_read, request_code_write, ioc};
-
 // /usr/include/linux/fs.h: #define FS_IOC_GETFLAGS _IOR('f', 1, long)
 // read Linux file system attributes (see man chattr)
 nix::ioctl_read!(read_attr_fd, b'f', 1, usize);