diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2023-02-23 18:13:01 -0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2023-03-14 14:17:13 -0600 |
| commit | 7399b886b55ef7b489a1bd3939451fcf1792941d (patch) | |
| tree | d688dd71c9b7b8027bf9029d727edf8f07d205f1 /tools/perf/scripts/python | |
| parent | nbd: allow genl access outside init_net (diff) | |
| download | linux-7399b886b55ef7b489a1bd3939451fcf1792941d.tar.gz linux-7399b886b55ef7b489a1bd3939451fcf1792941d.zip | |
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: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20230224021301.1630703-2-kuba@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
