Re: [PATCH 06/22] block,iomap: fix protection information verification with initial bvec offset
Christoph Hellwig <[email protected]> Wed, 29 Jul 2026 13:24:02 +0200
| Newsgroups | org.kernel.vger.linux-xfs,org.kernel.vger.linux-block,org.kernel.vger.linux-fsdevel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 29, 2026 at 11:52:46AM +0200, Andrey Albershteyn wrote: > > -int fs_bio_integrity_verify(struct bio *bio, sector_t sector, > > - unsigned int size); > > +int fs_bio_integrity_verify(struct bio *bio, struct bvec_iter *data_iter); > > shouldn't this have a static inline stub if BLK_DEV_INTEGRITY=no? > linker fails to resolve this in ioend.c > > not sure why _generate and rest are apparently fine It should be fine if all the callers are dead code eliminated. I think the version I posted messed that up, but the current version in my git tree fixed that.