]> git.proxmox.com Git - rustc.git/blob - vendor/rustix/src/backend/linux_raw/fs/mod.rs
New upstream version 1.76.0+dfsg1
[rustc.git] / vendor / rustix / src / backend / linux_raw / fs / mod.rs
1 #[cfg(feature = "alloc")]
2 pub(crate) mod dir;
3 pub mod inotify;
4 pub(crate) mod makedev;
5 pub(crate) mod syscalls;
6 pub(crate) mod types;
7
8 // TODO: Fix linux-raw-sys to define ioctl codes for sparc.
9 #[cfg(any(target_arch = "sparc", target_arch = "sparc64"))]
10 pub(crate) const EXT4_IOC_RESIZE_FS: u32 = 0x8008_6610;
11
12 #[cfg(not(any(target_arch = "sparc", target_arch = "sparc64")))]
13 pub(crate) use linux_raw_sys::ioctl::EXT4_IOC_RESIZE_FS;