Function report |
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 activity | Download SCCT | Chinese |
Name:NOTE: unmounting 'mnt' naturally propagates to all other mounts its* parent propagates to.
Proto:static bool __propagate_umount(struct mount *mnt, struct list_head *to_umount, struct list_head *to_restore)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct mount * | mnt | |
struct list_head * | to_umount | |
struct list_head * | to_restore |
445 | bool progress = false |
452 | If mnt_flags & (MNT_UMOUNT | MNT_MARKED) Then Go to out |
459 | If mnt_mountpoint == root of the mounted tree Then Continue |
461 | If Not list_empty - tests whether a list is empty*@head: the list to test. && IS_MNT_MARKED(child) Then Continue |
464 | Go to children |
468 | SET_MNT_MARK(mnt) |
469 | progress = true |
472 | If Not IS_MNT_LOCKED(mnt) Then |
473 | umount_one(mnt, to_umount) |
474 | Else |
475 | children : |
478 | out : |
479 | Return progress |
Name | Describe |
---|---|
propagate_umount | 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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |