xfs: Fix inode lookup in chunks of 64 inodes
commitdc661742c31fef4fc19d35450081c8b585e18499
authorPaulo Alcantara <pcacjr@zytor.com>
Thu, 12 Jul 2012 04:17:50 +0000 (12 01:17 -0300)
committerPaulo Alcantara <pcacjr@zytor.com>
Sat, 21 Jul 2012 04:21:45 +0000 (21 01:21 -0300)
treeb09a72e6e6874fbfba796de5c5edbe528fbc7244
parent549dc8a73f31c087b7cc68ec27c20890ca1cc46f
xfs: Fix inode lookup in chunks of 64 inodes

Leaf entries found in inode btrees in XFS contain the starting inode
number of some chunk, count of free entries, and some bitmask to handle
the free entries.

There are several inode numbers where its respective filesystem block
can be the same, so we need to read retrieve them through those chunks
of inodes.

Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
core/fs/xfs/xfs.c
core/fs/xfs/xfs.h