X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=block%2Fll_rw_blk.c;h=5813d63c20afba7ed7d993ce47f1cb66f037d6fc;hb=93fdf10d4c28edaa1b9f80e7f9c3002359186d00;hp=eee03a3876a3f2f875260b64c1c0bc51267219a3;hpb=73a0e405dce7d720808536b708f7c738b413b1a2;p=linux-2.6 diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c index eee03a3876..5813d63c20 100644 --- a/block/ll_rw_blk.c +++ b/block/ll_rw_blk.c @@ -10,7 +10,6 @@ /* * This handles all read/write requests to block devices */ -#include #include #include #include @@ -3117,9 +3116,9 @@ void submit_bio(int rw, struct bio *bio) BIO_BUG_ON(!bio->bi_io_vec); bio->bi_rw |= rw; if (rw & WRITE) - mod_page_state(pgpgout, count); + count_vm_events(PGPGOUT, count); else - mod_page_state(pgpgin, count); + count_vm_events(PGPGIN, count); if (unlikely(block_dump)) { char b[BDEVNAME_SIZE];