aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index e1c2775c7597..4aa9ccd02a50 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -2400,11 +2400,11 @@ bool blk_update_request(struct request *req, int error, unsigned int nr_bytes)
2400{ 2400{
2401 int total_bytes; 2401 int total_bytes;
2402 2402
2403 trace_block_rq_complete(req->q, req, nr_bytes);
2404
2403 if (!req->bio) 2405 if (!req->bio)
2404 return false; 2406 return false;
2405 2407
2406 trace_block_rq_complete(req->q, req, nr_bytes);
2407
2408 /* 2408 /*
2409 * For fs requests, rq is just carrier of independent bio's 2409 * For fs requests, rq is just carrier of independent bio's
2410 * and each partial completion should be handled separately. 2410 * and each partial completion should be handled separately.