From: Jan Kara Date: Sun, 21 Oct 2007 23:41:40 +0000 (-0700) Subject: ext2: avoid rec_len overflow with 64KB block size X-Git-Tag: v2.6.24-rc1~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89910cccb8fec0c1140d33a743e72a712efd4f05;p=pandora-kernel.git ext2: 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 length. So we store 0xffff instead and convert the value when read from / written to disk. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Jan Kara Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed