diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2012-10-19 12:21:22 (GMT) |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-09 13:11:42 (GMT) |
commit | 518a4d53b2985451a08cb4e5b79deacfe151a38a (patch) | |
tree | a2bbe91f62459f474417c1485912b1da7beaed10 /net/netrom/nr_dev.c | |
parent | fd0017c1243b2b9058525672b9ea13272fb51b30 (diff) | |
download | linux-fsl-qoriq-518a4d53b2985451a08cb4e5b79deacfe151a38a.tar.xz |
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 <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'net/netrom/nr_dev.c')
0 files changed, 0 insertions, 0 deletions