diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-06-26 01:51:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 14:09:09 +0300 |
commit | a567493430be60b2a29b37d6401992f68acce032 (patch) | |
tree | 57f9234ba6715d2b61aafe4b8045672694c04cda /arch/s390 | |
parent | 8a9e8b683a7c8a3fb52fcaa692ffd704ba03f29d (diff) | |
download | linux-a567493430be60b2a29b37d6401992f68acce032.tar.xz |
drbd: Fix drbd_request_prepare() discard handling
[ Upstream commit fad2d4ef636654e926d374ef038f4cd4286661f6 ]
Fix the test that verifies whether bio_op(bio) represents a discard
or write zeroes operation. Compile-tested only.
Cc: Philipp Reisner <philipp.reisner@linbit.com>
Cc: Lars Ellenberg <lars.ellenberg@linbit.com>
Fixes: 7435e9018f91 ("drbd: zero-out partial unaligned discards on local backend")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions