Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vfsmount lock must be held for write

Proto:void change_mnt_propagation(struct mount *mnt, int type)

Type:void

Parameter:

TypeParameterName
struct mount *mnt
inttype
124  If type == change to shared Then
125  set_mnt_shared(mnt)
126  Return
128  do_make_slave(mnt)
129  If type != change to slave Then
130  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
131  slave is on master->mnt_slave_list = NULL
132  If type == change to unbindable Then mnt_flags |= the vfsmount is a unbindable mount
134  Else mnt_flags &= ~ the vfsmount is a unbindable mount
Caller
NameDescribe
do_change_typersively change the type of the mountpoint.
umount_treemount_lock must be held* namespace_sem must be held for write