]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
repair: handle sparse inode alignment
authorBrian Foster <bfoster@redhat.com>
Tue, 23 Jun 2015 05:08:48 +0000 (15:08 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 23 Jun 2015 05:08:48 +0000 (15:08 +1000)
commit9f984cdcff4099c5b0c055e65aae62961f97a5ad
tree8e56c9bf4ea78cc7433f6b03f9a9e9e4de42afd7
parent1da68317368f3439add9760a73f4ddfb62f8e3a7
repair: handle sparse inode alignment

Sparse inode support requires inode alignment to match inode chunk size.
xfs_repair currently expects inode alignment to match the default
cluster size or a scaled factor thereof.

Update sb_validate_ino_align() to consider the superblock valid if
sparse inode support is enabled and alignment matches the chunk size.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
repair/sb.c