]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libxfs: create a helper to compute leftovers of realtime extents
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 23:07:28 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:23 +0000 (14:06 -0700)
commite14fcb26f15edacc81c0de69266e39e93d4d709d
tree2dbbe770a7211fe089eadb2486abd4ebffa48271
parentb64874dba74d529d048b931c80d16c37bb0ff6e9
libxfs: create a helper to compute leftovers of realtime extents

Port the inode item precommunt function to use a helper to compute the
misalignment between a file extent (xfs_extlen_t) and a realtime extent.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
libxfs/logitem.c