]> Pileus Git - ~andy/linux/commit
drbd: fail_requests_early: remove incorrect and unnecessary optimization
authorLars Ellenberg <lars.ellenberg@linbit.com>
Tue, 6 Apr 2010 12:15:06 +0000 (14:15 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 May 2010 23:10:31 +0000 (01:10 +0200)
commit979f5c7f1f6c8a532b943defb790d43b999934eb
tree64799998f0e104595281c32101218452736296fa
parent6666032ade5a758aa05380ab92f416ab8ef25005
drbd: fail_requests_early: remove incorrect and unnecessary optimization

The condition does not fit the commend (I may well be Primary,
even if I lost the disk earlier and now the connection).

And this is catched below anyways, where it also gets logged.

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