summaryrefslogtreecommitdiff
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorHirofumi Ogawa <hirofumi@mail.parknet.co.jp>2002-07-18 21:55:29 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-07-18 21:55:29 -0700
commitd4db506366a225f681a53b229c80cf8bda67032d (patch)
treee70fe4e9aec9b18aa7649ae88badba081c3b45e4 /fs/buffer.c
parent047cef3222151cd62f2134597b73a59621acbdaf (diff)
[PATCH] Add 4G-1 file support to FAT32
This patch changes cont_prepare_write(), in order to support a 4G-1 file for FAT32. 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) And it fixes broken adfs/affs/fat/hfs/hpfs/qnx4 by this cont_prepare_write() change.
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index dfb38f4a6f44..107d4409a926 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -2078,7 +2078,7 @@ out:
*/
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;