__block_write_begin and block_prepare_write are identical except for slightly different calling conventions. Convert all callers to the __block_write_begin calling conventions and drop block_prepare_write.
Showing the changes to include/linux/buffer_head.h (1 of 14 files). Show all
Unified · Split
| @@ -212,7 +212,6 @@ int generic_write_end(struct file *, struct address_space *, · 211 unmodified lines | |||
| 212 | loff_t, unsigned, unsigned, | 212 | loff_t, unsigned, unsigned, |
| 213 | struct page *, void *); | 213 | struct page *, void *); |
| 214 | void page_zero_new_buffers(struct page *page, unsigned from, unsigned to); | 214 | void page_zero_new_buffers(struct page *page, unsigned from, unsigned to); |
| 215 | int block_prepare_write(struct page*, unsigned, unsigned, get_block_t*); | ||
| 216 | int cont_write_begin(struct file *, struct address_space *, loff_t, | 215 | int cont_write_begin(struct file *, struct address_space *, loff_t, |
| 217 | unsigned, unsigned, struct page **, void **, | 216 | unsigned, unsigned, struct page **, void **, |
| 218 | get_block_t *, loff_t *); | 217 | get_block_t *, loff_t *); |