diff options
Diffstat (limited to 'include/linux/buffer_head.h')
| -rw-r--r-- | include/linux/buffer_head.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h index dd27b1c7227f..5c6e12853a9b 100644 --- a/include/linux/buffer_head.h +++ b/include/linux/buffer_head.h | |||
| @@ -165,7 +165,7 @@ int sync_mapping_buffers(struct address_space *mapping); | |||
| 165 | void unmap_underlying_metadata(struct block_device *bdev, sector_t block); | 165 | void unmap_underlying_metadata(struct block_device *bdev, sector_t block); |
| 166 | 166 | ||
| 167 | void mark_buffer_async_write(struct buffer_head *bh); | 167 | void mark_buffer_async_write(struct buffer_head *bh); |
| 168 | void invalidate_bdev(struct block_device *, int); | 168 | void invalidate_bdev(struct block_device *); |
| 169 | int sync_blockdev(struct block_device *bdev); | 169 | int sync_blockdev(struct block_device *bdev); |
| 170 | void __wait_on_buffer(struct buffer_head *); | 170 | void __wait_on_buffer(struct buffer_head *); |
| 171 | wait_queue_head_t *bh_waitq_head(struct buffer_head *bh); | 171 | wait_queue_head_t *bh_waitq_head(struct buffer_head *bh); |
| @@ -182,6 +182,7 @@ void __brelse(struct buffer_head *); | |||
| 182 | void __bforget(struct buffer_head *); | 182 | void __bforget(struct buffer_head *); |
| 183 | void __breadahead(struct block_device *, sector_t block, unsigned int size); | 183 | void __breadahead(struct block_device *, sector_t block, unsigned int size); |
| 184 | struct buffer_head *__bread(struct block_device *, sector_t block, unsigned size); | 184 | struct buffer_head *__bread(struct block_device *, sector_t block, unsigned size); |
| 185 | void invalidate_bh_lrus(void); | ||
| 185 | struct buffer_head *alloc_buffer_head(gfp_t gfp_flags); | 186 | struct buffer_head *alloc_buffer_head(gfp_t gfp_flags); |
| 186 | void free_buffer_head(struct buffer_head * bh); | 187 | void free_buffer_head(struct buffer_head * bh); |
| 187 | void FASTCALL(unlock_buffer(struct buffer_head *bh)); | 188 | void FASTCALL(unlock_buffer(struct buffer_head *bh)); |
| @@ -319,7 +320,7 @@ static inline int inode_has_buffers(struct inode *inode) { return 0; } | |||
| 319 | static inline void invalidate_inode_buffers(struct inode *inode) {} | 320 | static inline void invalidate_inode_buffers(struct inode *inode) {} |
| 320 | static inline int remove_inode_buffers(struct inode *inode) { return 1; } | 321 | static inline int remove_inode_buffers(struct inode *inode) { return 1; } |
| 321 | static inline int sync_mapping_buffers(struct address_space *mapping) { return 0; } | 322 | static inline int sync_mapping_buffers(struct address_space *mapping) { return 0; } |
| 322 | static inline void invalidate_bdev(struct block_device *bdev, int destroy_dirty_buffers) {} | 323 | static inline void invalidate_bdev(struct block_device *bdev) {} |
| 323 | 324 | ||
| 324 | 325 | ||
| 325 | #endif /* CONFIG_BLOCK */ | 326 | #endif /* CONFIG_BLOCK */ |
