Skip to content

Commit ecdb02e

Browse files
authored
Add MS_SILENT for MountPropagationFlags (#760)
* Add MS_SILENT for MountPropagationFlags * Add a MS_SILENT to src/backend/libc/fs/types.rs
1 parent af491da commit ecdb02e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/backend/libc/fs/types.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,8 @@ bitflags! {
11701170
#[repr(transparent)]
11711171
#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
11721172
pub struct MountPropagationFlags: c::c_ulong {
1173+
/// `MS_SILENT`
1174+
const SILENT = c::MS_SILENT;
11731175
/// `MS_SHARED`
11741176
const SHARED = c::MS_SHARED;
11751177
/// `MS_PRIVATE`

src/backend/linux_raw/fs/types.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,8 @@ bitflags! {
760760
#[repr(transparent)]
761761
#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
762762
pub struct MountPropagationFlags: c::c_uint {
763+
/// `MS_SILENT`
764+
const SILENT = linux_raw_sys::general::MS_SILENT;
763765
/// `MS_SHARED`
764766
const SHARED = linux_raw_sys::general::MS_SHARED;
765767
/// `MS_PRIVATE`

0 commit comments

Comments
 (0)