io_uring/cmd: document some uring_cmd related helpers
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 18 Mar 2024 22:00:26 +0000 (22:00 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:24 +0000 (08:10 -0600)
commit36a005b9c66eade68f4235e612d733510a8d52ff
tree21bb1460fab92d16e5861040492f4162218e46ab
parente1eef2e56cb0db143c731b1cdc220980256d2d99
io_uring/cmd: document some uring_cmd related helpers

Add comments warning users that they're only allowed to pass issue_flags
that were given from io_uring.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Tested-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/82ff8a45f2c3eb5f3a04a33f0692e5e4a1320455.1710799188.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring/cmd.h