[RFC] change of cont_prepare_write() for the large file

From: OGAWA Hirofumi (hirofumi@mail.parknet.co.jp)
Date: Wed Jun 26 2002 - 12:18:10 EST


Hi,

I'm going to change the cont_prepare_write() for support of 4G - 1 file
on FAT32. And the following change break the adfs/affs/hfs/hpfs/qnx4.

diff -urN linux-2.5.24/fs/buffer.c fat_big-file-2.5.24/fs/buffer.c
--- linux-2.5.24/fs/buffer.c Sun Jun 23 15:43:09 2002
+++ fat_big-file-2.5.24/fs/buffer.c Sun Jun 23 15:31:44 2002
@@ -1930,7 +1930,7 @@
  */
 
 int cont_prepare_write(struct page *page, unsigned offset,
- unsigned to, get_block_t *get_block, unsigned long *bytes)
+ unsigned to, get_block_t *get_block, loff_t *bytes)
 {
         struct address_space *mapping = page->mapping;
         struct inode *inode = mapping->host;

The attached patch fixes those fs. If no problem, I'll submit
patches at this weekend.

Please review. Thanks.

-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>



- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:11 EST