Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Kernel:HEAD:KMP
drbd
0011-compat-fix-blk_alloc_disk-rule.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0011-compat-fix-blk_alloc_disk-rule.patch of Package drbd
From 32b84f7b4d071312e5e812eab6b26e4aad2899e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=B6hmwalder?= <christoph.boehmwalder@linbit.com> Date: Mon, 19 Aug 2024 16:19:47 +0200 Subject: [PATCH 11/32] compat: fix blk_alloc_disk rule --- drbd/drbd-kernel-compat/gen_patch_names.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drbd/drbd-kernel-compat/gen_patch_names.c b/drbd/drbd-kernel-compat/gen_patch_names.c index 7549ee39afb7..c21a43b39488 100644 --- a/drbd/drbd-kernel-compat/gen_patch_names.c +++ b/drbd/drbd-kernel-compat/gen_patch_names.c @@ -155,9 +155,10 @@ int main(int argc, char **argv) patch(1, "blk_alloc_disk", true, false, COMPAT_BLK_ALLOC_DISK_TAKES_QUEUE_LIMITS, "takes_queue_limits"); - +#if !defined(COMPAT_BLK_ALLOC_DISK_TAKES_QUEUE_LIMITS) patch(1, "blk_alloc_disk", true, false, COMPAT_HAVE_BLK_ALLOC_DISK, "present"); +#endif /*******************************************************************************/ /* -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor