]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: Fixed bitmap in case of online-grow without resync
authorPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 28 Apr 2010 12:46:57 +0000 (14:46 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 May 2010 23:20:33 +0000 (01:20 +0200)
commit5223671bb0315d83f9ad7becbbb9e703aa735bbe
treeabd92e52a9a4b65a4c927e81bfd05896faa0c197
parent6b4388ac1f282515db3a651707238cad00b50e80
drbd: Fixed bitmap in case of online-grow without resync

The "surplus" bits of the old (smaller) bitmap must be clean
in case of online-grow without resync.

Note: Reverted 67ae8b80d4a116ab3b7094eb3723506b20c06dff as
well, since the lines added by this patch are redundant. The
bits get set by the bm_set_surplus(b) call before that.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_bitmap.c