diff options
Diffstat (limited to 'drivers/md/dm-kcopyd.c')
-rw-r--r-- | drivers/md/dm-kcopyd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-kcopyd.c b/drivers/md/dm-kcopyd.c index ee9583bee04d..996802b8a452 100644 --- a/drivers/md/dm-kcopyd.c +++ b/drivers/md/dm-kcopyd.c | |||
@@ -332,7 +332,7 @@ static int run_io_job(struct kcopyd_job *job) | |||
332 | { | 332 | { |
333 | int r; | 333 | int r; |
334 | struct dm_io_request io_req = { | 334 | struct dm_io_request io_req = { |
335 | .bi_rw = job->rw, | 335 | .bi_rw = job->rw | (1 << BIO_RW_SYNC), |
336 | .mem.type = DM_IO_PAGE_LIST, | 336 | .mem.type = DM_IO_PAGE_LIST, |
337 | .mem.ptr.pl = job->pages, | 337 | .mem.ptr.pl = job->pages, |
338 | .mem.offset = job->offset, | 338 | .mem.offset = job->offset, |