From: Ryusuke Konishi Date: Sun, 25 Jul 2010 11:39:03 +0000 (+0900) Subject: nilfs2: avoid rec_len overflow with 64KB block size X-Git-Tag: v2.6.36-rc1~500^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cda9fa2575ec0869fe77b0bdf295c0e51868cab;p=pandora-kernel.git nilfs2: 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 this patch stores 0xffff instead and converts value when read from / written to disk. Nilfs derives its directory implementation from ext2 filesystem, and this draws upon the corresponding change on ext2. Signed-off-by: Ryusuke Konishi --- Reading git-diff-tree failed