Skip to content

Commit e470e3b

Browse files
committed
Auto merge of #2624 - rtzoeller:umount_nofollow, r=Amanieu
Define UMOUNT_NOFOLLOW on Linux-like platforms Requested-by: nix-rust/nix#1631
2 parents 26b68f8 + 4b46235 commit e470e3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/linux_like/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,8 +1045,10 @@ pub const EPOLL_CTL_ADD: ::c_int = 1;
10451045
pub const EPOLL_CTL_MOD: ::c_int = 3;
10461046
pub const EPOLL_CTL_DEL: ::c_int = 2;
10471047

1048+
pub const MNT_FORCE: ::c_int = 0x1;
10481049
pub const MNT_DETACH: ::c_int = 0x2;
10491050
pub const MNT_EXPIRE: ::c_int = 0x4;
1051+
pub const UMOUNT_NOFOLLOW: ::c_int = 0x8;
10501052

10511053
pub const Q_GETFMT: ::c_int = 0x800004;
10521054
pub const Q_GETINFO: ::c_int = 0x800005;
@@ -1062,8 +1064,6 @@ pub const QIF_USAGE: u32 = 10;
10621064
pub const QIF_TIMES: u32 = 48;
10631065
pub const QIF_ALL: u32 = 63;
10641066

1065-
pub const MNT_FORCE: ::c_int = 0x1;
1066-
10671067
pub const Q_SYNC: ::c_int = 0x800001;
10681068
pub const Q_QUOTAON: ::c_int = 0x800002;
10691069
pub const Q_QUOTAOFF: ::c_int = 0x800003;

0 commit comments

Comments
 (0)