]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/md/dm-kcopyd.c
drm: Set cliprects to NULL when changing drawable to having 0 cliprects.
[linux-2.6-omap-h63xx.git] / drivers / md / dm-kcopyd.c
index ee9583bee04d549cad92a7a809c220d6071f89bd..996802b8a4522e50126365d070f21458f9b68be2 100644 (file)
@@ -332,7 +332,7 @@ static int run_io_job(struct kcopyd_job *job)
 {
        int r;
        struct dm_io_request io_req = {
-               .bi_rw = job->rw,
+               .bi_rw = job->rw | (1 << BIO_RW_SYNC),
                .mem.type = DM_IO_PAGE_LIST,
                .mem.ptr.pl = job->pages,
                .mem.offset = job->offset,