Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\buffer.c Create Date:2022-07-28 20:14:09
Last Modify:2020-03-18 10:38:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rget() is like brelse(), except it discards any* potentially dirty data.

Proto:void __bforget(struct buffer_head *bh)

Type:void

Parameter:

TypeParameterName
struct buffer_head *bh
1195  clear_buffer_dirty(bh)
1196  If mapping this buffer is associated with Then
1197  buffer_mapping = See page-flags.h for PAGE_MAPPING_FLAGS
1199  spin_lock( & private_lock)
1200  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
1201  mapping this buffer is associated with = NULL
1202  spin_unlock( & private_lock)
1204  Decrement a buffer_head's reference count
Caller
NameDescribe
bforget