diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-10-22 18:35:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-12 22:05:30 -0500 |
commit | 955a23e181561a792d6e4c1572848b7ba306499f (patch) | |
tree | 7525af040f7c563353153d85ac7bbab3fe23058b /drivers/md | |
parent | f606b358df6e174cd57f0509e5f5299bd4a73854 (diff) |
bcache: Fixed incorrect order of arguments to bio_alloc_bioset()
commit d4eddd42f592a0cf06818fae694a3d271f842e4d upstream.
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/bcache/request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/request.c b/drivers/md/bcache/request.c index cbcf8b301edc..a30a0f8a41c0 100644 --- a/drivers/md/bcache/request.c +++ b/drivers/md/bcache/request.c | |||
@@ -1059,7 +1059,7 @@ static void request_write(struct cached_dev *dc, struct search *s) | |||
1059 | 1059 | ||
1060 | if (bio->bi_rw & REQ_FLUSH) { | 1060 | if (bio->bi_rw & REQ_FLUSH) { |
1061 | /* Also need to send a flush to the backing device */ | 1061 | /* Also need to send a flush to the backing device */ |
1062 | struct bio *flush = bio_alloc_bioset(0, GFP_NOIO, | 1062 | struct bio *flush = bio_alloc_bioset(GFP_NOIO, 0, |
1063 | dc->disk.bio_split); | 1063 | dc->disk.bio_split); |
1064 | 1064 | ||
1065 | flush->bi_rw = WRITE_FLUSH; | 1065 | flush->bi_rw = WRITE_FLUSH; |