diff options
Diffstat (limited to 'block/ll_rw_blk.c')
-rw-r--r-- | block/ll_rw_blk.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c index eee03a3876a3..5813d63c20af 100644 --- a/block/ll_rw_blk.c +++ b/block/ll_rw_blk.c | |||
@@ -10,7 +10,6 @@ | |||
10 | /* | 10 | /* |
11 | * This handles all read/write requests to block devices | 11 | * This handles all read/write requests to block devices |
12 | */ | 12 | */ |
13 | #include <linux/config.h> | ||
14 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
15 | #include <linux/module.h> | 14 | #include <linux/module.h> |
16 | #include <linux/backing-dev.h> | 15 | #include <linux/backing-dev.h> |
@@ -3117,9 +3116,9 @@ void submit_bio(int rw, struct bio *bio) | |||
3117 | BIO_BUG_ON(!bio->bi_io_vec); | 3116 | BIO_BUG_ON(!bio->bi_io_vec); |
3118 | bio->bi_rw |= rw; | 3117 | bio->bi_rw |= rw; |
3119 | if (rw & WRITE) | 3118 | if (rw & WRITE) |
3120 | mod_page_state(pgpgout, count); | 3119 | count_vm_events(PGPGOUT, count); |
3121 | else | 3120 | else |
3122 | mod_page_state(pgpgin, count); | 3121 | count_vm_events(PGPGIN, count); |
3123 | 3122 | ||
3124 | if (unlikely(block_dump)) { | 3123 | if (unlikely(block_dump)) { |
3125 | char b[BDEVNAME_SIZE]; | 3124 | char b[BDEVNAME_SIZE]; |