]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ublk: move ublk flag check functions earlier
authorCaleb Sander Mateos <csander@purestorage.com>
Thu, 8 Jan 2026 09:19:30 +0000 (02:19 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Jan 2026 16:15:05 +0000 (09:15 -0700)
commite859e7c26a5c4689083f161a52d039b9b454e403
tree60ff3745205f8e1cee9c149fa9f2450fa7272b4e
parent835042fb1971b1cc6acb46d53b8862643fd7d0a8
ublk: move ublk flag check functions earlier

ublk_dev_support_user_copy() will be used in ublk_validate_params().
Move these functions next to ublk_{dev,queue}_is_zoned() to avoid
needing to forward-declare them.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c