projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: fix deadlock between bd_link_disk_holder and partition scan
[linux-block.git]
/
block
/
blk-flush.c
diff --git
a/block/blk-flush.c
b/block/blk-flush.c
index 3f4d41952ef210929091ca29661b5da2be280d9c..b0f314f4bc1493db379e6a234c0b5381569827b2 100644
(file)
--- a/
block/blk-flush.c
+++ b/
block/blk-flush.c
@@
-143,7
+143,7
@@
static void blk_account_io_flush(struct request *rq)
part_stat_lock();
part_stat_inc(part, ios[STAT_FLUSH]);
part_stat_add(part, nsecs[STAT_FLUSH],
-
k
time_get_ns() - rq->start_time_ns);
+
blk_
time_get_ns() - rq->start_time_ns);
part_stat_unlock();
}