Re: [PATCH 3/5] fat: zero out seek range on _fat_get_block
From: OGAWA Hirofumi
Date: Sun Oct 27 2013 - 09:45:45 EST
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> writes:
> Namjae Jeon <linkinjeon@xxxxxxxxx> writes:
>
>> + last_block = (MSDOS_I(inode)->mmu_private + (blocksize - 1))
>> + >> blocksize_bits;
>> + disk_block = (MSDOS_I(inode)->i_disksize + (blocksize - 1))
>> + >> blocksize_bits;
>> + if (iblock >= last_block && iblock <= disk_block) {
>> + MSDOS_I(inode)->mmu_private +=
>> + *max_blocks << blocksize_bits;
>
> Hm, mmu_private is not increased by write_begin()?
Ah, ok. I understood what this is doing. Please ignore this comment.
--
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/