Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:05:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:p1 and p2 should be directories on the same fs.
Proto:struct dentry *lock_rename(struct dentry *p1, struct dentry *p2)
Type:struct dentry
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | p1 | |
| struct dentry * | p2 |
| 2807 | Return NULL |
| 2810 | mutex_lock( & s_vfs_rename_mutex) |
| 2812 | p = d_ancestor(p2, p1) |
| 2813 | If p Then |
| 2816 | Return p |
| 2819 | p = d_ancestor(p1, p2) |
| 2820 | If p Then |
| 2823 | Return p |
| 2828 | Return NULL |
| Name | Describe |
|---|---|
| do_renameat2 |
| 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 |