diff options
author | Christoph Hellwig | 2016-08-04 16:10:00 +0200 |
---|---|---|
committer | Jens Axboe | 2016-08-04 22:19:16 +0200 |
commit | f0225cacfe7e69ff3234a125aeb0f3d65077835c (patch) | |
tree | e61f490b47a997149aa391b301fa3f3b463d66e1 /fs/block_dev.c | |
parent | blk-mq: fix deadlock in blk_mq_register_disk() error path (diff) | |
download | kernel-qcow2-linux-f0225cacfe7e69ff3234a125aeb0f3d65077835c.tar.gz kernel-qcow2-linux-f0225cacfe7e69ff3234a125aeb0f3d65077835c.tar.xz kernel-qcow2-linux-f0225cacfe7e69ff3234a125aeb0f3d65077835c.zip |
loop: don't try to use AIO for discards
Fix a fat-fingered conversion to the req_op accessors, and also
use a switch statement to make it more obvious what is being checked.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Dave Chinner <david@fromorbit.com>
Fixes: c2df40 ("drivers: use req op accessor");
Reviewed-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions