Function report |
Source Code:fs\notify\fsnotify.c |
Create Date:2022-07-28 20:16:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:snotify_unmount_inodes - an sb is unmounting. handle any watched inodes.*@sb: superblock being unmounted.* Called during unmount with no locks held, so needs to be safe against* concurrent modifiers. We temporarily drop sb->s_inode_list_lock and CAN block.
Proto:static void fsnotify_unmount_inodes(struct super_block *sb)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | sb |
| 40 | struct inode * inode, * iput_inode = NULL |
| 42 | spin_lock( & s_inode_list_lock) |
| 52 | Continue |
| 64 | If Not atomic_read( & i_count) Then |
| 66 | Continue |
| 71 | spin_unlock( & s_inode_list_lock) |
| 73 | If iput_inode Then put an inode |
| 81 | iput_inode = inode |
| 83 | cond_resched() |
| 84 | spin_lock( & s_inode_list_lock) |
| 86 | spin_unlock( & s_inode_list_lock) |
| 88 | If iput_inode Then put an inode |
| Name | Describe |
|---|---|
| fsnotify_sb_delete |
| 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 |