Re: [PATCH v2 2/2] exfat: do not zeroed the extended part

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

 



[snip]
> +static int exfat_cont_expand(struct inode *inode, loff_t size)
> +{
> +	if (mapping_writably_mapped(inode->i_mapping))
Could you elaborate why mapping_writably_mapped is used here instead
of comparing new size and old size ?

Thanks.
> +		return exfat_expand_and_zero(inode, size);
> +
> +	return exfat_expand(inode, size);
> +}
> +
>  static bool exfat_allow_set_time(struct exfat_sb_info *sbi, struct inode
> *inode)
>  {
>  	mode_t allow_utime = sbi->options.allow_utime;
> --
> 2.25.1
>
>



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

  Powered by Linux