[openbeos] BFS filesystem check (minor) problem

Hi Axel!

There may be a problem in the BFS CheckInode function when checking symbolic 
links.

When checking an inode, BlockAllocator::CheckInode always calls 
BlockAllocator::CheckBlockRun to make sure the allocation blocks are valid. 
This is a problem when checking symbolic links because the inode-area which 
usually holds the direct blockruns has - for symbols links - the link name 
stored there. (if it is a short link name).
This means, depending on the linked name and the amount of allocation 
groups/blocks, CheckBlockRun may fail or succeed. (Reporting errors on valid 
nodes).
I would suggest not checking blockruns for symbolic links at all.

Robert!

Other related posts: