diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-25 22:44:53 +0900 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-25 23:29:21 +0900 |
commit | 89c0fd014d34d409a7b196667c2b9a4813b6c968 (patch) | |
tree | 9fad0ab3ce77b7537ed7d8db45c40e746e26692f /Documentation | |
parent | 6cda9fa2575ec0869fe77b0bdf295c0e51868cab (diff) | |
download | linux-89c0fd014d34d409a7b196667c2b9a4813b6c968.tar.bz2 |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions