Re: [PATCH v3 1/6] fat: add i_disksize to represent uninitialized size
From: Namjae Jeon
Date: Tue Feb 04 2014 - 05:20:42 EST
2014-02-03, OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>:
> Namjae Jeon <linkinjeon@xxxxxxxxx> writes:
>
>> From: Namjae Jeon <namjae.jeon@xxxxxxxxxxx>
>>
>> Add i_disksize to represent uninitialized allocated size.
>> And mmu_private represent initialized allocated size.
>
> Don't we need to update ->i_disksize after cont_write_begin()?
We don't need to update i_disksize after cont_write_begin.
It is taken care by the fat_get_block after the allocation.
For all write paths we align the mmu_private and i_disksize from
fat_fill_inode and fat_get_block.
Thanks.
> --
> OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/