函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\pnode.c Create Date:2022-07-29 10:41:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vfsmount lock must be held for write

函数原型:void change_mnt_propagation(struct mount *mnt, int type)

返回类型:void

参数:

类型参数名称
struct mount *mnt
inttype
124  如果type恒等于change to shared
125  set_mnt_shared(mnt)
126  返回
128  do_make_slave(mnt)
129  如果type不等于change to slave
130  删除链表项并重新初始化
131  slave is on master->mnt_slave_list = NULL
132  如果type恒等于change to unbindable mnt_flags或等于 the vfsmount is a unbindable mount
134  否则mnt_flags与等于 the vfsmount is a unbindable mount 的反
调用者
名称描述
do_change_typersively change the type of the mountpoint.
umount_treemount_lock must be held* namespace_sem must be held for write