diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-10-22 18:35:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-10-23 02:55:36 -0400 |
commit | d4eddd42f592a0cf06818fae694a3d271f842e4d (patch) | |
tree | ac01d907169e245d4a8f273cff57388890706f6e | |
parent | f4e5e14f53691871c25ec3925010ab4edbf73391 (diff) |
bcache: Fixed incorrect order of arguments to bio_alloc_bioset()
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>
-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 b6a74bcbb08f..2a7f0dd6abab 100644 --- 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) | |||
1000 | 1000 | ||
1001 | if (bio->bi_rw & REQ_FLUSH) { | 1001 | if (bio->bi_rw & REQ_FLUSH) { |
1002 | /* Also need to send a flush to the backing device */ | 1002 | /* Also need to send a flush to the backing device */ |
1003 | struct bio *flush = bio_alloc_bioset(0, GFP_NOIO, | 1003 | struct bio *flush = bio_alloc_bioset(GFP_NOIO, 0, |
1004 | dc->disk.bio_split); | 1004 | dc->disk.bio_split); |
1005 | 1005 | ||
1006 | flush->bi_rw = WRITE_FLUSH; | 1006 | flush->bi_rw = WRITE_FLUSH; |