Re: Maximum filename length

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

 



Andreas Dilger <adilger@xxxxxxx> writes:
>
> #define EXT4_FT_ENTRY_3 0x80			/* file_type for dir_entry_3 */
> #define EXT4_FT_MASK    0x0f			/* EXT4_FT_* mask */
> #define EXT4_INODE_MASK 0x00ffffffffffffff	/* 48-bit inode number mask */
> #define EXT4_NAME_LEN3  1012
>
> struct ext4_dir_entry_3 {
> 	__le64 inode;		/* High byte holds file_type */
> 	__le16 rec_len;
> 	__le16 name_len;

The new format should also reserve space for a checksum. Adding that
would be actually a reasonable practical improvement for everyone.

> 	char   name[EXT4_NAME_LEN3];

-Andi

-- 
ak@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux