projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
md
/
dm-kcopyd.c
diff --git
a/drivers/md/dm-kcopyd.c
b/drivers/md/dm-kcopyd.c
index addf83475040d326145d67bad45f535d40c41407..d8587bac5682f41673cc9a20695a146c30415a31 100644
(file)
--- a/
drivers/md/dm-kcopyd.c
+++ b/
drivers/md/dm-kcopyd.c
@@
-345,7
+345,7
@@
static int run_io_job(struct kcopyd_job *job)
{
int r;
struct dm_io_request io_req = {
- .bi_rw = job->rw |
(1 << BIO_RW_SYNCIO) | (1 << BIO_RW_UNPLUG)
,
+ .bi_rw = job->rw |
REQ_SYNC | REQ_UNPLUG
,
.mem.type = DM_IO_PAGE_LIST,
.mem.ptr.pl = job->pages,
.mem.offset = job->offset,