Re: [PATCH v1] exfat: zero the reserved fields of file and stream extension dentries

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

 



> BTW, what about initializing the entire ep (fixed size of 32 bytes)
> to 0 before setting the value of ep in each init function? This is the
> simplest way to ensure that all other values are zero except for the
> intentionally set value.

Yes, initializing the entire directory entry to 0 is simplest way.
But 48 more bytes are set to 0 (the total size of the reserved fields is
16 bytes).

I think both ways are acceptable. If you think initializing the entire ep to
0 is better, I'll update this patch.




[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