Function report |
Source Code:fs\namespace.c |
Create Date:2022-07-28 20:09:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rsively change the type of the mountpoint.
Proto:static int do_change_type(struct path *path, int ms_flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct path * | path | |
int | ms_flags |
2205 | mnt = real_mount(mnt) |
2208 | err = 0 |
2217 | namespace_lock() |
2218 | If type == change to shared Then |
2219 | err = invent_group_ids(mnt, recurse) |
2220 | If err Then Go to out_unlock |
2224 | lock_mount_hash() |
2225 | When m cycle vfsmount lock must be held for write |
2227 | unlock_mount_hash() |
2229 | out_unlock : |
2230 | namespace_unlock() |
2231 | Return err |
Name | Describe |
---|---|
do_mount | Flags is a 32-bit value that allows up to 31 non-fs dependent flags to* be given to the mount() call (ie: read-only, no-dev, no-suid etc) |
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 |