io_uring/cmd: Pass compat mode in issue_flags
authorBreno Leitao <leitao@debian.org>
Mon, 16 Oct 2023 13:47:43 +0000 (06:47 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 19 Oct 2023 22:42:03 +0000 (16:42 -0600)
commit5fea44a6e05b86bf49019fbbf2ab30098d03e0dc
treefe06b868c1b334f9f12992c0b895e7e170134996
parent0b05b0cd78c92371fdde6333d006f39eaf9e0860
io_uring/cmd: Pass compat mode in issue_flags

Create a new flag to track if the operation is running compat mode.
This basically check the context->compat and pass it to the issue_flags,
so, it could be queried later in the callbacks.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20231016134750.1381153-6-leitao@debian.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring.h
io_uring/uring_cmd.c