aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_worker.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2010-12-14 09:13:04 -0500
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-03-10 05:43:24 -0500
commit4b0715f09655e76ca24c35a9e25e7c464c2f7346 (patch)
treee98706a35b1e18cad09f01d2346d9a1c938c081c /drivers/block/drbd/drbd_worker.c
parent19f843aa08e2d8f87a09b4c2edc43b00638423a8 (diff)
drbd: allow petabyte storage on 64bit arch
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_worker.c')
-rw-r--r--drivers/block/drbd/drbd_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c
index d17f2ed777ce..be46084c254e 100644
--- a/drivers/block/drbd/drbd_worker.c
+++ b/drivers/block/drbd/drbd_worker.c
@@ -577,7 +577,7 @@ next_sector:
577 size = BM_BLOCK_SIZE; 577 size = BM_BLOCK_SIZE;
578 bit = drbd_bm_find_next(mdev, mdev->bm_resync_fo); 578 bit = drbd_bm_find_next(mdev, mdev->bm_resync_fo);
579 579
580 if (bit == -1UL) { 580 if (bit == DRBD_END_OF_BITMAP) {
581 mdev->bm_resync_fo = drbd_bm_bits(mdev); 581 mdev->bm_resync_fo = drbd_bm_bits(mdev);
582 mdev->resync_work.cb = w_resync_inactive; 582 mdev->resync_work.cb = w_resync_inactive;
583 put_ldev(mdev); 583 put_ldev(mdev);