diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-06-26 01:51:30 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-06-29 16:53:21 +0300 |
commit | fad2d4ef636654e926d374ef038f4cd4286661f6 (patch) | |
tree | 37c783585bbdc348eff13ba2e7773e22c3b12bf4 /drivers/misc/sram.c | |
parent | 1f57f8d442f8017587eeebd8617913bfc3661d3d (diff) | |
download | linux-fad2d4ef636654e926d374ef038f4cd4286661f6.tar.xz |
drbd: Fix drbd_request_prepare() discard handling
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>
Diffstat (limited to 'drivers/misc/sram.c')
0 files changed, 0 insertions, 0 deletions