Skip to content

Commit

Permalink
Define UMOUNT_NOFOLLOW, FUSE_SUPER_MAGIC
Browse files Browse the repository at this point in the history
Requested-by: jiangliu
  • Loading branch information
rtzoeller committed Jan 18, 2022
1 parent 18d1f62 commit cc387c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/mount/linux.rs
Expand Up @@ -53,6 +53,7 @@ libc_bitflags!(
MNT_FORCE;
MNT_DETACH;
MNT_EXPIRE;
UMOUNT_NOFOLLOW;
}
);

Expand Down
3 changes: 3 additions & 0 deletions src/sys/statfs.rs
Expand Up @@ -73,6 +73,9 @@ pub const EXT3_SUPER_MAGIC: FsType = FsType(libc::EXT3_SUPER_MAGIC as fs_type_t)
pub const EXT4_SUPER_MAGIC: FsType = FsType(libc::EXT4_SUPER_MAGIC as fs_type_t);
#[cfg(all(target_os = "linux", not(target_env = "musl")))]
#[allow(missing_docs)]
pub const FUSE_SUPER_MAGIC: FsType = FsType(libc::FUSE_SUPER_MAGIC as fs_type_t);
#[cfg(all(target_os = "linux", not(target_env = "musl")))]
#[allow(missing_docs)]
pub const HPFS_SUPER_MAGIC: FsType = FsType(libc::HPFS_SUPER_MAGIC as fs_type_t);
#[cfg(all(target_os = "linux", not(target_env = "musl")))]
#[allow(missing_docs)]
Expand Down

0 comments on commit cc387c4

Please sign in to comment.