Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:find_topper

Proto:static struct mount *find_topper(struct mount *mnt)

Type:struct mount

Parameter:

TypeParameterName
struct mount *mnt
342  If Not list_is_singular - tests whether a list has just one entry.*@head: the list to test. Then Return NULL
345  child = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & list of children, anchored here , structmount, mnt_child)
346  If mnt_mountpoint != root of the mounted tree Then Return NULL
349  Return child
Caller
NameDescribe
propagate_mount_busyheck if the mount 'mnt' can be unmounted successfully.*@mnt: the mount to be checked for unmount* NOTE: unmounting 'mnt' would naturally propagate to all* other mounts its parent propagates to.* Check if any of these mounts that **do not have submounts**