Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namespace.c Create Date:2022-07-28 20:09:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:disconnect_mount

Proto:static bool disconnect_mount(struct mount *mnt, enum umount_tree_flags how)

Type:bool

Parameter:

TypeParameterName
struct mount *mnt
enum umount_tree_flagshow
1397  If how & UMOUNT_SYNC Then Return true
1401  If Not mnt_has_parent(mnt) Then Return true
1408  If Not (mnt_flags & MNT_UMOUNT) Then Return true
1412  If how & UMOUNT_CONNECTED Then Return false
1416  If IS_MNT_LOCKED(mnt) Then Return false
1420  Return true
Caller
NameDescribe
umount_treemount_lock must be held* namespace_sem must be held for write