aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/nbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/nbd.c')
-rw-r--r--drivers/block/nbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index 9e268ddedfbd..485345c8e632 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -136,7 +136,7 @@ static void nbd_end_request(struct request *req)
136 136
137 spin_lock_irqsave(q->queue_lock, flags); 137 spin_lock_irqsave(q->queue_lock, flags);
138 if (!end_that_request_first(req, uptodate, req->nr_sectors)) { 138 if (!end_that_request_first(req, uptodate, req->nr_sectors)) {
139 end_that_request_last(req); 139 end_that_request_last(req, uptodate);
140 } 140 }
141 spin_unlock_irqrestore(q->queue_lock, flags); 141 spin_unlock_irqrestore(q->queue_lock, flags);
142} 142}