On Sun, May 30, 2010 at 10:50:18PM +0200, Christoph Hellwig wrote: > Split up the block_write_begin implementation - __block_write_begin is a new > trivial wrapper for block_prepare_write that always takes an already > allocated page and can be either called from block_write_begin or filesystem > code that already has a page allocated. Remove the handling of already > allocated pages from block_write_begin after switching all callers that > do it to __block_write_begin. __block_write_begin is used by modules so it needs to be exported. The one liner below needs to be folded in: Index: linux-2.6/fs/buffer.c =================================================================== --- linux-2.6.orig/fs/buffer.c 2010-05-31 09:43:07.232004136 +0200 +++ linux-2.6/fs/buffer.c 2010-05-31 10:07:38.612253821 +0200 @@ -1959,6 +1959,7 @@ int __block_write_begin(struct page *pag return block_prepare_write(page, start, start + len, get_block); } +EXPORT_SYMBOL(__block_write_begin); /* * block_write_begin takes care of the basic task of block allocation and -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html