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>
This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:11 EST