]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ublk: add helper of __ublk_fetch()
authorMing Lei <ming.lei@redhat.com>
Fri, 21 Nov 2025 01:58:28 +0000 (09:58 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Nov 2025 16:20:13 +0000 (09:20 -0700)
commit28d7a371f021419cb6c3a243f5cf167f88eb51b9
tree64d39d9b769817f21810a02f6c3fb72c09005eab
parent3443bab2f8e44e00adaf76ba677d4219416376f2
ublk: add helper of __ublk_fetch()

Add helper __ublk_fetch() for refactoring ublk_fetch().

Meantime move ublk_config_io_buf() out of __ublk_fetch() to make
the code structure cleaner.

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