MNT_LOCKED
if (mnt->mnt.mnt_flags & MNT_LOCKED)
if (mnt->mnt.mnt_flags & MNT_LOCKED) /* Check optimistically */
if (src_mnt->mnt.mnt_flags & MNT_LOCKED) {
if (src_mnt->mnt.mnt_flags & MNT_LOCKED)
dst_mnt->mnt.mnt_flags |= MNT_LOCKED;
if (child->mnt.mnt_flags & MNT_LOCKED)
flags |= MNT_LOCKED;
if (mnt->mnt.mnt_flags & MNT_LOCKED)
mnt->mnt.mnt_flags |= MNT_LOCKED;
if (new_mnt->mnt.mnt_flags & MNT_LOCKED)
if (root_mnt->mnt.mnt_flags & MNT_LOCKED) {
new_mnt->mnt.mnt_flags |= MNT_LOCKED;
root_mnt->mnt.mnt_flags &= ~MNT_LOCKED;
if (!(child->mnt.mnt_flags & MNT_LOCKED))
child->mnt.mnt_flags &= ~MNT_LOCKED;
#define IS_MNT_LOCKED(m) ((m)->mnt.mnt_flags & MNT_LOCKED)
MNT_SYNC_UMOUNT | MNT_LOCKED