io_uring: mark iopoll not supported for uring-cmd
authorAnuj Gupta <anuj20.g@samsung.com>
Mon, 20 Dec 2021 14:17:24 +0000 (19:47 +0530)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Dec 2021 16:38:24 +0000 (09:38 -0700)
commitfcd5fbff17159f2b1bf5af9f5c077cc903d05db8
tree32a36af1ee8ec315c69565b14ff7dbb566ae540a
parent457122c8214c46a6b179fb46d51c6fc967a6b5e0
io_uring: mark iopoll not supported for uring-cmd

Currently uring-passthrough doesn't support iopoll. Bail out to avoid
the panic.

Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Link: https://lore.kernel.org/r/20211220141734.12206-4-joshi.k@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c