Hi all, Here are the reviewed cleanups at the head of the fsverity series. Apparently there's other work that could use some of these things, so let's try to get it in for 6.10. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. With a bit of luck, this should all go splendidly. Comments and questions are, as always, welcome. --D kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=xfs-cleanups-6.10 --- Commits in this patchset: * xfs: use unsigned ints for non-negative quantities in xfs_attr_remote.c * xfs: turn XFS_ATTR3_RMT_BUF_SPACE into a function * xfs: create a helper to compute the blockcount of a max sized remote value * xfs: minor cleanups of xfs_attr3_rmt_blocks * xfs: widen flags argument to the xfs_iflags_* helpers --- fs/xfs/libxfs/xfs_attr.c | 2 - fs/xfs/libxfs/xfs_attr_remote.c | 88 ++++++++++++++++++++++----------------- fs/xfs/libxfs/xfs_attr_remote.h | 8 +++- fs/xfs/libxfs/xfs_da_format.h | 4 -- fs/xfs/scrub/reap.c | 4 +- fs/xfs/xfs_icache.c | 4 -- fs/xfs/xfs_inode.h | 14 +++--- 7 files changed, 69 insertions(+), 55 deletions(-)