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:sb_prepare_remount_readonly
Proto:int sb_prepare_remount_readonly(struct super_block *sb)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct super_block * | sb | 
| 515 | err = 0 | 
| 518 | If atomic_long_read( & s_remove_count) Then Return -EBUSY | 
| 521 | lock_mount_hash() | 
| 523 | If Not (mnt_flags & does the user want this to be r/o? ) Then | 
| 532 | If Not err && atomic_long_read( & s_remove_count) Then err = -EBUSY | 
| 535 | If Not err Then | 
| 536 | s_readonly_remount = 1 | 
| 537 | smp_wmb() | 
| 540 | If mnt_flags & MNT_WRITE_HOLD Then mnt_flags &= ~MNT_WRITE_HOLD | 
| 543 | unlock_mount_hash() | 
| 545 | Return err | 
| 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  |