RE: [PATCH v2] exfat: handle unreconized benign secondary entries

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

 



> +	if (!(flags & ALLOC_FAT_CHAIN) || !start_clu || !size)
> +		return;

>From '7.9.2.2 NoFatChain Field' of the exFAT spec, flags can also be ALLOC_NO_FAT_CHAIN. 

The NoFatChain field shall conform to the definition provided in the Generic Secondary DirectoryEntry template (see Section 6.4.2.2).

> +		if (exfat_get_entry_type(ep) & TYPE_BENIGN_SEC)
> +			exfat_free_benign_secondary_clusters(inode, ep);
> +

Only vendor allocation entry(0xE1) have associated cluster allocations, vendor extension entry(0xE0) do not have associated cluster allocations.




[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