History

fs: kill block_prepare_write

__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.

Christoph Hellwig committed 16 years ago

Commit ebdec241 parent 56b0dac14 files · +39 −73Browse files

Showing the changes to include/linux/buffer_head.h (1 of 14 files). Show all

Unified · Split

include/linux/buffer_head.h+0−1
@@ -212,7 +212,6 @@ int generic_write_end(struct file *, struct address_space *, · 211 unmodified lines
212212 loff_t, unsigned, unsigned,
213213 struct page *, void *);
214214 void page_zero_new_buffers(struct page *page, unsigned from, unsigned to);
215−int block_prepare_write(struct page*, unsigned, unsigned, get_block_t*);
216215 int cont_write_begin(struct file *, struct address_space *, loff_t,
217216 unsigned, unsigned, struct page **, void **,
218217 get_block_t *, loff_t *);