]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drbd: Removed a reference to debug macros removed long time ago
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 15 Dec 2010 23:37:57 +0000 (00:37 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:43:27 +0000 (11:43 +0100)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_bitmap.c

index 09d208b858e7b2a936f3591a8dc721651bcd29d2..423dede458440184b05a9ae8973680054a2c45ab 100644 (file)
@@ -596,9 +596,8 @@ static void bm_memset(struct drbd_bitmap *b, size_t offset, int c, size_t len)
                if (bm+do_now > p_addr + LWPP) {
                        printk(KERN_ALERT "drbd: BUG BUG BUG! p_addr:%p bm:%p do_now:%d\n",
                               p_addr, bm, (int)do_now);
-                       break; /* breaks to after catch_oob_access_end() only! */
-               }
-               memset(bm, c, do_now * sizeof(long));
+               } else
+                       memset(bm, c, do_now * sizeof(long));
                bm_unmap(p_addr);
                bm_set_page_need_writeout(b->bm_pages[idx]);
                offset += do_now;