diff options
author | Andreas Hindborg <[email protected]> | 2023-08-04 13:46:09 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-08-08 15:45:53 -0600 |
commit | 1a6e88b9593b63ccdfe1d84e3f99dd91e4f8d490 (patch) | |
tree | 57efe1cf2dfe7045f04a3e945a252490426961b3 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 9d4ed6d46272bb60036a6539aae74eafcbbb3d2d (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 <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions