]> git.baikalelectronics.ru Git - kernel.git/commit
dm zoned: remove test for impossible REQ_OP_FLUSH conditions
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 21 Jul 2017 15:56:46 +0000 (11:56 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 25 Jul 2017 19:12:17 +0000 (15:12 -0400)
commitedbe9597aca2e2601e6e152bdea200b6cf1b8b47
tree767424385e9137e6c4d1dfe0884fc544f23ba3ce
parentac6a318888f6b94925de603d4563edf7e86e04c8
dm zoned: remove test for impossible REQ_OP_FLUSH conditions

The value REQ_OP_FLUSH is only used by the block code for
request-based devices.

Remove the tests for REQ_OP_FLUSH from the bio-based dm-zoned-target.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-zoned-target.c