• Hirofumi Ogawa's avatar
    [PATCH] Add 4G-1 file support to FAT32 · d4db5063
    Hirofumi Ogawa authored
    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.
    d4db5063
file.c 2.88 KB