fix fs-integrity for non-PI metadata v3

Christoph Hellwig <[email protected]> Tue, 4 Aug 2026 05:39:22 -0700
Newsgroups gmane.linux.block,gmane.linux.file-systems
Message-ID <[email protected]>
Hi all,

this series fixes incorrect calls into the PI generation helpers
when using fs-integrity on devics with non-PI metadata, which can
cause kernel crashes.

Changes since v2:
 - split the iomap patch into a separate series.

Changes since v1:
 - fix two more null pointer dereferences