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:Fengnan Chang <changfengnan@bytedance.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading