Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:05:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Perform an automount* - return -EISDIR to tell follow_managed() to stop and return the path we* were called with.
Proto:static int follow_automount(struct path *path, struct nameidata *nd, bool *need_mntput)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct path * | path | |
struct nameidata * | nd | |
bool * | need_mntput |
1143 | If Not d_op || Not d_automount Then Return -EREMOTE |
1157 | If Not (flags & ( rnal use only | quire a directory | ... in open | ... in object creation | rce terminal automount )) && Where the name belongs to - NULL is * negative Then Return -EISDIR |
1162 | total_link_count++ |
1163 | If total_link_count >= 40 Then Return -ELOOP |
1166 | mnt = d_automount(path) |
1182 | If Not mnt Then Return 0 |
1185 | If Not need_mntput Then |
1188 | * need_mntput = true |
1190 | err = finish_automount(mnt, path) |
1195 | Return 0 |
1196 | Case err == 0 |
1200 | Return 0 |
1201 | Default |
1202 | Return err |
Name | Describe |
---|---|
follow_managed | Handle a dentry that is managed in some way.* - Flagged for transit management (autofs)* - Flagged as mountpoint* - Flagged as automount point* This may only be called in refwalk mode.* On success path->dentry is known positive. |
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 |