summaryrefslogtreecommitdiffstats
path: root/kernel/trace/blktrace.c
diff options
context:
space:
mode:
authorMike Christie2016-06-08 22:49:41 +0200
committerJens Axboe2016-06-08 23:01:16 +0200
commit56332f02a562390a3198525ad78cb4f558805c0f (patch)
tree06be0f2c4c46616eb4b625ffb647a1c664547949 /kernel/trace/blktrace.c
parentNVMe: Fix removal in case of active namespace list scanning method (diff)
downloadkernel-qcow2-linux-56332f02a562390a3198525ad78cb4f558805c0f.tar.gz
kernel-qcow2-linux-56332f02a562390a3198525ad78cb4f558805c0f.tar.xz
kernel-qcow2-linux-56332f02a562390a3198525ad78cb4f558805c0f.zip
mg_disk: fix enum REQ_OP_ kbuild error
Because we define WRITE/READ as REQ_OPs, we cannot do switch (rq_data_dir(request)) case READ .... case WRITE ... without getting warnings about handling other REQ_OPs. This just has mq_disk do a if/else like it does in other places. Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'kernel/trace/blktrace.c')
0 files changed, 0 insertions, 0 deletions