Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:llect all mounts that receive propagation from the mount in @list,* and return these additional mounts in the same list.*@list: the list of mounts to be unmounted.* vfsmount lock must be held for write

Proto:int propagate_umount(struct list_head *list)

Type:int

Parameter:

TypeParameterName
struct list_head *list
539  LIST_HEAD(to_restore)
540  LIST_HEAD(to_umount)
541  LIST_HEAD(visited)
545  parent = mnt_parent
554  If Not list_empty - tests whether a list is empty*@head: the list to test. Then Continue
557  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
558  When m cycle
560  child = d the first mount at @dentry on vfsmount @mnt.* call under rcu_read_lock()
562  If Not child Then Continue
574  Continue
575  Else if mnt_flags & MNT_UMOUNT Then
583  Continue
590  child = mnt_parent
597  umount_list( & to_umount, & to_restore)
598  restore_mounts( & to_restore)
599  cleanup_umount_visitations( & visited)
600  list_splice_tail - join two lists, each list being a queue*@list: the new list to add.*@head: the place to add it in the first list.
602  Return 0
Caller
NameDescribe
umount_treemount_lock must be held* namespace_sem must be held for write