aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorAndreas Hindborg <a.hindborg@samsung.com>2023-08-04 13:46:09 +0200
committerJens Axboe <axboe@kernel.dk>2023-08-08 15:45:53 -0600
commit1a6e88b9593b63ccdfe1d84e3f99dd91e4f8d490 (patch)
tree57efe1cf2dfe7045f04a3e945a252490426961b3 /scripts/bpf_doc.py
parent9d4ed6d46272bb60036a6539aae74eafcbbb3d2d (diff)
ublk: move check for empty address field on command submission
In preparation for zoned storage support, move the check for empty `addr` field into the command handler case statement. Note that the check makes no sense for `UBLK_IO_NEED_GET_DATA` because the `addr` field must always be set for this command. Signed-off-by: Andreas Hindborg <a.hindborg@samsung.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20230804114610.179530-3-nmi@metaspace.dk Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions