Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Kent Overstreet and committed by
Linus Torvalds
d4eddd42 f4e5e14f

+1 -1
+1 -1
drivers/md/bcache/request.c
··· 1000 1000 1001 1001 if (bio->bi_rw & REQ_FLUSH) { 1002 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 1004 dc->disk.bio_split); 1005 1005 1006 1006 flush->bi_rw = WRITE_FLUSH;