Function report | 
Source Code:fs\namespace.c | 
Create Date:2022-07-28 20:09:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:mnt_make_readonly
Proto:static int mnt_make_readonly(struct mount *mnt)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mount * | mnt | 
| 464 | ret = 0 | 
| 466 | lock_mount_hash() | 
| 467 | mnt_flags |= MNT_WRITE_HOLD | 
| 472 | smp_mb() | 
| 490 | If mnt_get_writers(mnt) > 0 Then ret = -EBUSY | 
| 492 | Else mnt_flags |= does the user want this to be r/o? | 
| 498 | smp_wmb() | 
| 499 | mnt_flags &= ~MNT_WRITE_HOLD | 
| 500 | unlock_mount_hash() | 
| 501 | Return ret | 
| Name | Describe | 
|---|---|
| change_mount_ro_state | 
| 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  |