mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
Add buffer head related helper functions
Add buffer head related helper function bh_uptodate_or_lock and bh_submit_read which can be used by file system Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
This commit is contained in:
parent
bb4f397a1a
commit
389d1b083c
2 changed files with 46 additions and 0 deletions
|
@ -192,6 +192,8 @@ int sync_dirty_buffer(struct buffer_head *bh);
|
|||
int submit_bh(int, struct buffer_head *);
|
||||
void write_boundary_block(struct block_device *bdev,
|
||||
sector_t bblock, unsigned blocksize);
|
||||
int bh_uptodate_or_lock(struct buffer_head *bh);
|
||||
int bh_submit_read(struct buffer_head *bh);
|
||||
|
||||
extern int buffer_heads_over_limit;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue