
From: Li Lingfeng <lilingfeng3@huawei.com> hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB6YDK -------------------------------- Commit 7a800a20ae63 ("block: use bi_max_vecs to find the bvec pool") remove bip_slab from struct bio_integrity_payload and result in kabi broken. Fix it by add bip_slab back. Fixes: 7a800a20ae63 ("block: use bi_max_vecs to find the bvec pool") Signed-off-by: Li Lingfeng <lilingfeng3@huawei.com> Signed-off-by: Li Nan <linan122@huawei.com> --- include/linux/bio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/bio.h b/include/linux/bio.h index c571ed1d7168..85bb3e5b313d 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -312,6 +312,7 @@ struct bio_integrity_payload { struct bvec_iter bip_iter; + KABI_DEPRECATE(unsigned short, bip_slab) unsigned short bip_vcnt; /* # of integrity bio_vecs */ unsigned short bip_max_vcnt; /* integrity bio_vec slots */ unsigned short bip_flags; /* control flags */ -- 2.39.2