Re: [PATCH 3/5] fat: zero out seek range on _fat_get_block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux