diff options
author | 2010-07-06 11:16:46 -0400 | |
---|---|---|
committer | 2010-07-10 14:38:11 -0400 | |
commit | 8800a044c71a128633cf3febaf4780531a991334 (patch) | |
tree | b736cdc086d86f27e1b52efa96f2a3f15fe1d443 /fs/ecryptfs/inode.c | |
parent | omfs: refuse to mount if bitmap pointer is obviously wrong (diff) | |
download | linux-dev-8800a044c71a128633cf3febaf4780531a991334.tar.xz linux-dev-8800a044c71a128633cf3febaf4780531a991334.zip |
omfs: sanity check cluster size
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>
Diffstat (limited to 'fs/ecryptfs/inode.c')
0 files changed, 0 insertions, 0 deletions