starnix_uapi/
unmount_flags.rs

1// Copyright 2024 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5use crate::uapi;
6use bitflags::bitflags;
7
8bitflags! {
9    #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)]
10    pub struct UnmountFlags: u32 {
11        const FORCE = uapi::MNT_FORCE;
12        const DETACH = uapi::MNT_DETACH;
13        const EXPIRE = uapi::MNT_EXPIRE;
14        const NOFOLLOW = uapi::UMOUNT_NOFOLLOW;
15    }
16}