From: Ryusuke Konishi Date: Sun, 25 Jul 2010 13:44:53 +0000 (+0900) Subject: nilfs2: reject filesystem with unsupported block size X-Git-Tag: v2.6.36-rc1~500^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89c0fd014d34d409a7b196667c2b9a4813b6c968;p=pandora-kernel.git nilfs2: reject filesystem with unsupported block size This inserts sanity check that refuses to mount a filesystem with unsupported block size. Previously, kernel code of nilfs was looking only limitation of devices though mkfs.nilfs2 limits the range of block sizes; there was no check that prevents rec_len overflow with larger block sizes. With this change, block sizes larger than 64KB or smaller than 1KB will get rejected explicitly by kernel. Signed-off-by: Ryusuke Konishi --- Reading git-diff-tree failed