diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2010-03-24 16:23:03 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-05-18 01:14:43 +0200 |
commit | 02d9a94bbb0d4e0fec8db6735bdc4ccfaac8f0ce (patch) | |
tree | f8a2c63b8b84e0aef6d7e8fc920b20c5bb14c1c4 /drivers/block/drbd/drbd_main.c | |
parent | d845030f21859dd11bcecc7e1b8575fb845eb425 (diff) | |
download | op-kernel-dev-02d9a94bbb0d4e0fec8db6735bdc4ccfaac8f0ce.zip op-kernel-dev-02d9a94bbb0d4e0fec8db6735bdc4ccfaac8f0ce.tar.gz |
drbd: Implemented the set_new_bits parameter for drbd_bm_resize()
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_main.c')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index e181e40..65c2a65 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c @@ -2688,7 +2688,7 @@ void drbd_mdev_cleanup(struct drbd_conf *mdev) drbd_set_my_capacity(mdev, 0); if (mdev->bitmap) { /* maybe never allocated. */ - drbd_bm_resize(mdev, 0); + drbd_bm_resize(mdev, 0, 1); drbd_bm_cleanup(mdev); } |