diff options
author | Mikulas Patocka <[email protected]> | 2023-04-04 11:14:26 -0400 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2023-04-04 13:30:17 -0400 |
commit | 85c938e8914f8f0e276b8e82d4f2e4bcab044e96 (patch) | |
tree | b136252fc9a78356eb548cdb402e947d1591964d /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 074c44664f60f62ef932eae9ee89d663563cf307 (diff) |
dm table: allow targets without devices to set ->io_hints
In dm_calculate_queue_limits, add call to ->io_hints hook if the
target doesn't provide ->iterate_devices.
This is needed so the "error" and "zero" targets may support
discards. The 2 following commits will add their respective discard
support.
Signed-off-by: Mikulas Patocka <[email protected]>
Tested-by: Milan Broz <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions