On Tue, 22 Jul 2025 17:37:55 +0530, Anuj Gupta wrote: > The blk_get_meta_cap() implementation directly assigns bi->csum_type to > the UAPI field lbmd_guard_tag_type. This is not right as the kernel enum > blk_integrity_checksum values are not guaranteed to match the UAPI > defined values. > > Fix this by explicitly mapping internal checksum types to UAPI-defined > constants to ensure compatibility and correctness, especially for the > devices using CRC64 PI. > > [...] Applied to the vfs-6.17.integrity branch of the vfs/vfs.git tree. Patches in the vfs-6.17.integrity branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs-6.17.integrity [1/1] block: fix lbmd_guard_tag_type assignment in FS_IOC_GETLBMD_CAP https://git.kernel.org/vfs/vfs/c/bc5b0c8febcc