OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: delete part_round_stats and switch to less precise counting
[uclinux-h8/linux.git]
/
block
/
partition-generic.c
diff --git
a/block/partition-generic.c
b/block/partition-generic.c
index
7e663cf
..
42d6138
100644
(file)
--- a/
block/partition-generic.c
+++ b/
block/partition-generic.c
@@
-122,9
+122,6
@@
ssize_t part_stat_show(struct device *dev,
struct request_queue *q = part_to_disk(p)->queue;
unsigned int inflight[2];
- part_stat_lock();
- part_round_stats(q, p);
- part_stat_unlock();
part_in_flight(q, p, inflight);
return sprintf(buf,
"%8lu %8lu %8llu %8u "