OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4e5e14
)
bcache: Fixed incorrect order of arguments to bio_alloc_bioset()
author
Kent Overstreet
<kmo@daterainc.com>
Tue, 22 Oct 2013 22:35:50 +0000
(15:35 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 23 Oct 2013 06:55:36 +0000
(07:55 +0100)
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: linux-stable <stable@vger.kernel.org> # >= v3.10
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/bcache/request.c
patch
|
blob
|
history
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;