Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:28 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Called by mount code to set a mountpoint and check if the mountpoint is* reachable (e.g. NFS can unhash a directory dentry and then the complete* subtree can become unreachable).* Only one of d_invalidate() and d_set_mounted() must succeed. For
Proto:int d_set_mounted(struct dentry *dentry)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | dentry |
| 1437 | If Not d_unlinked(dentry) Then |
| 1439 | If Not d_mountpoint(dentry) Then |
| 1440 | protected by d_lock |= s a mountpoint |
| 1441 | ret = 0 |
| 1444 | spin_unlock( & d_lock) |
| 1445 | out : |
| 1446 | write_sequnlock( & rename_lock) |
| 1447 | Return ret |
| Name | Describe |
|---|---|
| get_mountpoint |
| 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 |