[PATCH 02/49] ext4: Avoid rec_len overflow with 64KB block size

2008-01-21 Thread Theodore Ts'o
From: Jan Kara <[EMAIL PROTECTED]> With 64KB blocksize, a directory entry can have size 64KB which does not fit into 16 bits we have for entry lenght. So we store 0x instead and convert value when read from / written to disk. The patch also converts some places to use ext4_next_entry() when

[PATCH 02/49] ext4: Avoid rec_len overflow with 64KB block size

2008-01-21 Thread Theodore Ts'o
From: Jan Kara [EMAIL PROTECTED] With 64KB blocksize, a directory entry can have size 64KB which does not fit into 16 bits we have for entry lenght. So we store 0x instead and convert value when read from / written to disk. The patch also converts some places to use ext4_next_entry() when we