omfs: sanity check cluster size
authorBob Copeland <me@bobcopeland.com>
Tue, 6 Jul 2010 15:16:46 +0000 (11:16 -0400)
committerBob Copeland <me@bobcopeland.com>
Sat, 10 Jul 2010 18:38:11 +0000 (14:38 -0400)
A corrupt filesystem could have a bad cluster size; this could result in
the filesystem allocating too much space for files if too large, or
getting stuck in omfs_allocate_block if too small.  The proper range is
1-8 blocks.

Reported-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Bob Copeland <me@bobcopeland.com>

No differences found