Function report |
Source Code:fs\libfs.c |
Create Date:2022-07-28 20:10:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:simple_rename
Proto:int simple_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | old_dir | |
| struct dentry * | old_dentry | |
| struct inode * | new_dir | |
| struct dentry * | new_dentry | |
| unsigned int | flags |
| 383 | they_are_dirs = d_is_dir(old_dentry) |
| 385 | If flags & ~Don't overwrite target Then Return -EINVAL |
| 388 | If Not simple_empty(new_dentry) Then Return -ENOTEMPTY |
| 397 | Else if they_are_dirs Then |
| 405 | Return 0 |
| 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 |