original_kernel/fs/nilfs2
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
..
Kconfig
Makefile
alloc.c
alloc.h
bmap.c nilfs2: get rid of nilfs_bmap_union 2010-07-23 10:02:14 +09:00
bmap.h nilfs2: get maximum number of child nodes from bmap object 2010-07-23 10:02:14 +09:00
btnode.c nilfs2: add read ahead mode to nilfs_btnode_submit_block 2010-07-23 10:02:15 +09:00
btnode.h nilfs2: add read ahead mode to nilfs_btnode_submit_block 2010-07-23 10:02:15 +09:00
btree.c nilfs2: apply read-ahead for nilfs_btree_lookup_contig 2010-07-23 10:02:16 +09:00
btree.h nilfs2: get rid of nilfs_bmap_union 2010-07-23 10:02:14 +09:00
cpfile.c
cpfile.h
dat.c
dat.h
dir.c nilfs2: avoid rec_len overflow with 64KB block size 2010-07-25 20:46:43 +09:00
direct.c nilfs2: remove redundant pointer checks in bmap lookup functions 2010-07-23 10:02:14 +09:00
direct.h nilfs2: get rid of nilfs_bmap_union 2010-07-23 10:02:14 +09:00
file.c
gcdat.c
gcinode.c nilfs2: add read ahead mode to nilfs_btnode_submit_block 2010-07-23 10:02:15 +09:00
ifile.c
ifile.h
inode.c
ioctl.c
mdt.c nilfs2: get rid of nilfs_bmap_union 2010-07-23 10:02:14 +09:00
mdt.h
namei.c
nilfs.h nilfs2: reject incompatible filesystem 2010-07-23 10:02:16 +09:00
page.c nilfs2: introduce check flag to btree node buffer 2010-07-23 10:02:15 +09:00
page.h nilfs2: introduce check flag to btree node buffer 2010-07-23 10:02:15 +09:00
recovery.c nilfs2: add missing error code in comment of nilfs_search_super_root 2010-07-23 10:02:11 +09:00
sb.h
segbuf.c
segbuf.h nilfs2: get rid of macros for segment summary information 2010-07-23 10:02:09 +09:00
segment.c nilfs2: do not update log cursor for small change 2010-07-23 10:02:11 +09:00
segment.h nilfs2: rename nilfs_recover_logical_segments function 2010-07-23 10:02:09 +09:00
sufile.c
sufile.h
super.c nilfs2: reject incompatible filesystem 2010-07-23 10:02:16 +09:00
the_nilfs.c nilfs2: reject filesystem with unsupported block size 2010-07-25 23:29:21 +09:00
the_nilfs.h nilfs2: do not update log cursor for small change 2010-07-23 10:02:11 +09:00