Function report | 
Source Code:fs\inode.c | 
Create Date:2022-07-28 20:07:55 | 
| Last Modify:2020-03-18 19:19:59 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:set_nlink - directly set an inode's link count*@inode: inode*@nlink: new nlink (should be non-zero)* This is a low-level filesystem helper to replace any* direct filesystem manipulation of i_nlink.
Proto:void set_nlink(struct inode *inode, unsigned int nlink)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| unsigned int | nlink | 
| 335 | If Not nlink Then | 
| 337 | Else | 
| 339 | If i_nlink == 0 Then atomic_long_dec( & s_remove_count) | 
| Name | Describe | 
|---|---|
| simple_fill_super | he inodes created here are not hashed. If you use iunique to generate* unique inode values later for this filesystem, then you must take care* to pass it an appropriate max_reserved value to avoid collisions. | 
| make_empty_dir_inode | |
| fsstack_copy_attr_all | py all attributes | 
| devpts_fill_super | 
| 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  |