Ryusuke Konishi 89c0fd014d 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 <konishi.ryusuke@lab.ntt.co.jp>
2010-07-25 23:29:21 +09:00
..
2010-07-23 10:02:14 +09:00
2010-07-23 10:02:14 +09:00
2009-12-25 13:01:50 +09:00
2010-03-14 10:29:51 +09:00
2010-07-23 10:02:14 +09:00
2010-05-27 22:05:02 -04:00
2009-11-20 10:05:50 +09:00
2009-04-07 08:31:16 -07:00
2010-07-23 10:02:14 +09:00
2010-07-23 10:02:16 +09:00
2009-06-11 21:36:18 -04:00
2010-03-14 10:29:51 +09:00
2010-07-23 10:02:16 +09:00