omfs: refuse to mount if bitmap pointer is obviously wrong
authorBob Copeland <me@bobcopeland.com>
Thu, 14 Aug 2008 22:43:59 +0000 (18:43 -0400)
committerBob Copeland <me@bobcopeland.com>
Sat, 10 Jul 2010 18:37:39 +0000 (14:37 -0400)
commit9442e54f433eff9b6fbd0836611df4c1919df370
tree5740987b7a7fcb1511263435fbbf48cf15ff0814
parentf068272cb2f134a194b93e94a8e0672bfce48cd8
omfs: refuse to mount if bitmap pointer is obviously wrong

If the free space bitmap pointer is corrupted such that it lies outside
of the number of blocks in the filesystem, print a message and fail the
mount so the user can fix it offline.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
fs/omfs/inode.c