tag 481992 patch
thanks

Howdy,

I extracted the attached patch from upstream's git repository, which
makes drbd8 use blk_cleanup_queue instead of blk_put_queue.  I
verified that this allowed drbd8 to build on my system.

-- 
Matt
diff -ru drbd8-8.2.4~/drbd/drbd_main.c drbd8-8.2.4/drbd/drbd_main.c
--- drbd8-8.2.4~/drbd/drbd_main.c       2008-05-25 14:22:33.000000000 -0700
+++ drbd8-8.2.4/drbd/drbd_main.c        2008-05-25 14:22:46.000000000 -0700
@@ -2498,7 +2498,7 @@
                                *disk = NULL;
                        }
                        if (*q)
-                               blk_put_queue(*q);
+                               blk_cleanup_queue(*q);
                        *q = NULL;
 
                        D_ASSERT(mdev->open_cnt == 0);

Reply via email to