diff options
Diffstat (limited to 'include/linux/buffer_head.h')
| -rw-r--r-- | include/linux/buffer_head.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h index c40302f909ce..324329ceea1e 100644 --- a/include/linux/buffer_head.h +++ b/include/linux/buffer_head.h | |||
| @@ -207,8 +207,6 @@ void block_invalidatepage(struct page *page, unsigned int offset, | |||
| 207 | unsigned int length); | 207 | unsigned int length); |
| 208 | int block_write_full_page(struct page *page, get_block_t *get_block, | 208 | int block_write_full_page(struct page *page, get_block_t *get_block, |
| 209 | struct writeback_control *wbc); | 209 | struct writeback_control *wbc); |
| 210 | int block_write_full_page_endio(struct page *page, get_block_t *get_block, | ||
| 211 | struct writeback_control *wbc, bh_end_io_t *handler); | ||
| 212 | int block_read_full_page(struct page*, get_block_t*); | 210 | int block_read_full_page(struct page*, get_block_t*); |
| 213 | int block_is_partially_uptodate(struct page *page, unsigned long from, | 211 | int block_is_partially_uptodate(struct page *page, unsigned long from, |
| 214 | unsigned long count); | 212 | unsigned long count); |
| @@ -278,7 +276,7 @@ static inline void get_bh(struct buffer_head *bh) | |||
| 278 | 276 | ||
| 279 | static inline void put_bh(struct buffer_head *bh) | 277 | static inline void put_bh(struct buffer_head *bh) |
| 280 | { | 278 | { |
| 281 | smp_mb__before_atomic_dec(); | 279 | smp_mb__before_atomic(); |
| 282 | atomic_dec(&bh->b_count); | 280 | atomic_dec(&bh->b_count); |
| 283 | } | 281 | } |
| 284 | 282 | ||
