projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bcache: Fixed incorrect order of arguments to bio_alloc_bioset()
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
md
/
bcache
/
request.c
diff --git
a/drivers/md/bcache/request.c
b/drivers/md/bcache/request.c
index
b6a74bc
..
2a7f0dd
100644
(file)
--- a/
drivers/md/bcache/request.c
+++ b/
drivers/md/bcache/request.c
@@
-1000,7
+1000,7
@@
static void request_write(struct cached_dev *dc, struct search *s)
if (bio->bi_rw & REQ_FLUSH) {
/* Also need to send a flush to the backing device */
- struct bio *flush = bio_alloc_bioset(
0, GFP_NOIO
,
+ struct bio *flush = bio_alloc_bioset(
GFP_NOIO, 0
,
dc->disk.bio_split);
flush->bi_rw = WRITE_FLUSH;