Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:Invalidate any and all dirty buffers on a given inode. We are* probably unmounting the fs, but that doesn't mean we have already* done a sync(). Just drop the buffers from the inode list.* NOTE: we take the inode's blockdev's mapping's private_lock. Which

Proto:void invalidate_inode_buffers(struct inode *inode)

Type:void

Parameter:

TypeParameterName
struct inode *inode
803  If inode_has_buffers(inode) Then
804  mapping = i_data
805  list = private_list
806  buffer_mapping = private_data
808  spin_lock( & private_lock)
809  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
810  The buffer's backing address_space's private_lock must be held
811  spin_unlock( & private_lock)
Caller
NameDescribe
bdev_evict_inode