From: Jan Kara Date: Tue, 29 Jan 2008 04:58:27 +0000 (-0500) Subject: ext4: Avoid rec_len overflow with 64KB block size X-Git-Tag: v2.6.25-rc1~1166^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a72d7f834e1afa08421938d7eb06bd8e56b0e58c;p=pandora-kernel.git ext4: Avoid rec_len overflow with 64KB block size 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 0xffff instead and convert value when read from / written to disk. The patch also converts some places to use ext4_next_entry() when we are changing them anyway. Signed-off-by: Jan Kara Signed-off-by: Mingming Cao --- Reading git-diff-tree failed