Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:05:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:handle_truncate
Proto:static int handle_truncate(struct file *filp)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | filp |
| 2948 | error = locks_verify_locked(filp) |
| 2949 | If Not error Then error = security_path_truncate(path) |
| 2951 | If Not error Then |
| 2952 | error = do_truncate(dentry, 0, ATTR_MTIME | ATTR_CTIME | Truncating from open(O_TRUNC) , filp) |
| 2957 | Return error |
| Name | Describe |
|---|---|
| do_last | Handle the last step of open() |
| 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 |