Skip to main content

async_fuser/ll/flags/
write_flags.rs

1use bitflags::bitflags;
2
3bitflags! {
4    /// Write flags.
5    #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
6    pub struct WriteFlags: u32 {
7        /// Delayed write from page cache, file handle is guessed.
8        const FUSE_WRITE_CACHE = 1 << 0;
9        /// lock_owner field is valid.
10        const FUSE_WRITE_LOCKOWNER = 1 << 1;
11        /// Kill suid and sgid bits.
12        const FUSE_WRITE_KILL_SUIDGID = 1 << 2;
13    }
14}