diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-07-14 11:06:43 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-10-14 14:16:49 -0700 |
commit | 021348feb8f7d8793a3316d5596d6534698c69be (patch) | |
tree | 90b602cb95d137761e7c1a953ecaf6bfb2ba7934 /fs/xfs/xfs_mount.h | |
parent | c6aea2c295ad73535a071ad21c19a7ee4c57266d (diff) |
xfs: refactor non-power-of-two alignment checks
Create a helper function that can compute if a 64-bit number is an
integer multiple of a 32-bit number, where the 32-bit number is not
required to be an even power of two. This is needed for some new code
for the realtime device, where we can set 37k allocation units and then
have to remap them.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
0 files changed, 0 insertions, 0 deletions