Skip to content
Commit 3fe1db62 authored by Yu Kuai's avatar Yu Kuai Committed by Jens Axboe
Browse files

nbd: partition nbd_read_stat() into nbd_read_reply() and nbd_handle_reply()



Prepare to fix uaf in nbd_read_stat(), no functional changes.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/r/20210916093350.1410403-7-yukuai3@huawei.com
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f52c0e08
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment