| 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; |
| 14 |
