From: Philipp Reisner Date: Fri, 19 Oct 2012 12:21:22 +0000 (+0200) Subject: drbd: don't try to clear bits once the disk has failed X-Git-Tag: v3.8-rc1~78^2~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=518a4d53b2985451a08cb4e5b79deacfe151a38a;p=pandora-kernel.git drbd: don't try to clear bits once the disk has failed If the disk has failed already, there is no point trying to change the bitmap. drbd_set_out_of_sync() already had this safeguard, time to add it to drbd_set_in_sync() as well. This also prevents some warning messages, like FIXME asender in bm_change_bits_to, bitmap locked for 'detach' by worker if our disk fails during resync, while there are some resync acks queued up. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed