projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cb2e14
)
[BLOCK] ll_rw_blk: use preempt-disabling disk_stat_add() in completion
author
Jens Axboe
<axboe@suse.de>
Tue, 17 Jan 2006 10:09:27 +0000
(11:09 +0100)
committer
Jens Axboe
<axboe@nelson.home.kernel.dk>
Tue, 24 Jan 2006 09:06:19 +0000
(10:06 +0100)
It can legally be called with interrupts/preemption enabled.
Signed-off-by: Jens Axboe <axboe@suse.de>
block/ll_rw_blk.c
patch
|
blob
|
blame
|
history
diff --git
a/block/ll_rw_blk.c
b/block/ll_rw_blk.c
index 5c62507a510d1d9a3d1320e6e6b3a1378f94bd6a..6bc41564c70e2cda86dd26c502c1967aa6902e0f 100644
(file)
--- a/
block/ll_rw_blk.c
+++ b/
block/ll_rw_blk.c
@@
-3153,7
+3153,7
@@
static int __end_that_request_first(struct request *req, int uptodate,
if (blk_fs_request(req) && req->rq_disk) {
const int rw = rq_data_dir(req);
-
__
disk_stat_add(req->rq_disk, sectors[rw], nr_bytes >> 9);
+ disk_stat_add(req->rq_disk, sectors[rw], nr_bytes >> 9);
}
total_bytes = bio_nbytes = 0;