In case of filesystem corruption, passing unchecked block numbers into sb_bread can result in an infinite loop in __getblk(). Introduce a wrapper function omfs_sbread() to check the block numbers and to also perform the clus_to_blk() scaling. Signed-off-by: Bob Copeland <me@bobcopeland.com> |
||
---|---|---|
.. | ||
bitmap.c | ||
dir.c | ||
file.c | ||
inode.c | ||
Kconfig | ||
Makefile | ||
omfs.h | ||
omfs_fs.h |