Commit 4f8244e0 authored by Fengnan Chang's avatar Fengnan Chang Committed by Greg Kroah-Hartman
Browse files

block: fix direct io NOWAIT flag not work



commit 8b44b4d8 ("block: don't allow multiple bios for IOCB_NOWAIT
issue") backport a upstream fix, but miss commit b77c88c2 ("block:
pass a block_device and opf to bio_alloc_kiocb"), and introduce this bug.
commit b77c88c2 ("block: pass a block_device and opf to
bio_alloc_kiocb") have other depend patch, so just fix it.

Fixes: 8b44b4d8 ("block: don't allow multiple bios for IOCB_NOWAIT issue")
Signed-off-by: default avatarFengnan Chang <changfengnan@bytedance.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d83e5275
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment