diff options
author | Brian Foster <bfoster@redhat.com> | 2015-05-29 09:06:30 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-05-29 09:06:30 +1000 |
commit | 7f43c907ad5afe100772249a79fa8cc9b751b28a (patch) | |
tree | cf81c5102a6f109583714cf4e48246462c03d482 /fs/xfs/libxfs/xfs_ialloc_btree.c | |
parent | 463958af5c92d876fd2fe3c756f18bd0ce70b713 (diff) |
xfs: handle sparse inode chunks in icreate log recovery
Recovery of icreate transactions assumes hardcoded values for the inode
count and chunk length.
Sparse inode chunks are allocated in units of m_ialloc_min_blks. Update
the icreate validity checks to allow for appropriately sized inode
chunks and verify the inode count matches what is expected based on the
extent length rather than assuming a hardcoded count.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
0 files changed, 0 insertions, 0 deletions