Skip to content
Commit 7399b886 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by Jens Axboe
Browse files

nbd: use the structured req attr check



Use the macro for checking presence of required attributes.
It has the advantage of reporting to the user which attr
was missing in a machine-readable format (extack).

Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20230224021301.1630703-2-kuba@kernel.org


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9195b317
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