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:do loopback mount.
Proto:static int do_loopback(struct path *path, const char *old_name, int recurse)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct path * | path | |
| const char * | old_name | |
| int | recurse |
| 2283 | err = kern_path(old_name, llow links at the end | rce terminal automount , & old_path) |
| 2288 | If mnt_ns_loop(dentry) Then Go to out |
| 2291 | mp = lock_mount(path) |
| 2297 | parent = real_mount(mnt) |
| 2301 | mnt = __do_loopback( & old_path, recurse) |
| 2307 | err = graft_tree(mnt, parent, mp) |
| 2308 | If err Then |
| 2309 | lock_mount_hash() |
| 2311 | unlock_mount_hash() |
| 2313 | out2 : |
| 2314 | unlock_mount(mp) |
| 2315 | out : |
| 2317 | 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 |