(
fs_fd: BorrowedFd<'_>,
key: &CStr,
fd: BorrowedFd<'_>,
)
| 213 | |
| 214 | #[cfg(linux_kernel)] |
| 215 | pub(crate) fn fsconfig_set_path_empty( |
| 216 | fs_fd: BorrowedFd<'_>, |
| 217 | key: &CStr, |
| 218 | fd: BorrowedFd<'_>, |
| 219 | ) -> io::Result<()> { |
| 220 | unsafe { |
| 221 | ret(fsconfig( |
| 222 | borrowed_fd(fs_fd), |
| 223 | super::types::FsConfigCmd::SetPathEmpty as _, |
| 224 | c_str(key), |
| 225 | c_str(cstr!("")), |
| 226 | borrowed_fd(fd), |
| 227 | )) |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | #[cfg(linux_kernel)] |
| 232 | pub(crate) fn fsconfig_create(fs_fd: BorrowedFd<'_>) -> io::Result<()> { |
nothing calls this directly
no test coverage detected