aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/um/drivers/ubd_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c
index 9200a457eb98..88a246edb61e 100644
--- a/arch/um/drivers/ubd_kern.c
+++ b/arch/um/drivers/ubd_kern.c
@@ -1102,7 +1102,7 @@ static void do_ubd_request(request_queue_t *q)
1102 struct scatterlist *sg = &dev->sg[dev->start_sg]; 1102 struct scatterlist *sg = &dev->sg[dev->start_sg];
1103 1103
1104 io_req = kmalloc(sizeof(struct io_thread_req), 1104 io_req = kmalloc(sizeof(struct io_thread_req),
1105 GFP_KERNEL | GFP_ATOMIC); 1105 GFP_ATOMIC);
1106 if(io_req == NULL){ 1106 if(io_req == NULL){
1107 if(list_empty(&dev->restart)) 1107 if(list_empty(&dev->restart))
1108 list_add(&dev->restart, &restart); 1108 list_add(&dev->restart, &restart);