projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'ceph-for-4.8-rc1' of git://github.com/ceph/ceph-client
[deliverable/linux.git]
/
drivers
/
block
/
rbd.c
diff --git
a/drivers/block/rbd.c
b/drivers/block/rbd.c
index 58fd02d4e534b6bbbf7654c1280a7ed75cc7b4b0..1a04af6d24212cdd16e5c8091d01f16e2b409384 100644
(file)
--- a/
drivers/block/rbd.c
+++ b/
drivers/block/rbd.c
@@
-3286,9
+3286,9
@@
static void rbd_queue_workfn(struct work_struct *work)
goto err;
}
- if (r
q->cmd_flags & REQ
_DISCARD)
+ if (r
eq_op(rq) == REQ_OP
_DISCARD)
op_type = OBJ_OP_DISCARD;
- else if (r
q->cmd_flags & REQ
_WRITE)
+ else if (r
eq_op(rq) == REQ_OP
_WRITE)
op_type = OBJ_OP_WRITE;
else
op_type = OBJ_OP_READ;
This page took
0.024615 seconds
and
5
git commands to generate.