Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:08 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Remove any clean buffers from the inode's buffer list. This is called* when we're trying to free the inode itself. Those buffers can pin it.* Returns true if all buffers were removed.
Proto:int remove_inode_buffers(struct inode *inode)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode |
824 | ret = 1 |
826 | If inode_has_buffers(inode) Then |
828 | list = private_list |
829 | buffer_mapping = private_data |
831 | spin_lock( & private_lock) |
834 | If buffer_dirty(bh) Then |
835 | ret = 0 |
836 | Break |
840 | spin_unlock( & private_lock) |
842 | Return ret |
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 |