]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_repair: validate alignment of inherited rt extent hints
authorDarrick J. Wong <djwong@kernel.org>
Mon, 24 May 2021 18:28:16 +0000 (11:28 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 2 Jul 2021 23:28:41 +0000 (16:28 -0700)
commita7658029ee258cd61c8bc7d91fe4aedf80ba765d
tree0352a113d8f9277353f6c4dbb83faf1895494f03
parent76a369e1639e29a662b3ddb0eb946d6f906bd1b3
xfs_repair: validate alignment of inherited rt extent hints

If we encounter a directory that has been configured to pass on an
extent size hint to a new realtime file and the hint isn't an integer
multiple of the rt extent size, we should turn off the hint because that
is a misconfiguration.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
repair/dinode.c