diff options
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/drivers/ubd_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index 17e96dc29596..ef6b4d960bad 100644 --- a/arch/um/drivers/ubd_kern.c +++ b/arch/um/drivers/ubd_kern.c | |||
@@ -1286,7 +1286,7 @@ static void do_ubd_request(struct request_queue *q) | |||
1286 | 1286 | ||
1287 | req = dev->request; | 1287 | req = dev->request; |
1288 | 1288 | ||
1289 | if (req->cmd_flags & REQ_FLUSH) { | 1289 | if (req_op(req) == REQ_OP_FLUSH) { |
1290 | io_req = kmalloc(sizeof(struct io_thread_req), | 1290 | io_req = kmalloc(sizeof(struct io_thread_req), |
1291 | GFP_ATOMIC); | 1291 | GFP_ATOMIC); |
1292 | if (io_req == NULL) { | 1292 | if (io_req == NULL) { |