Commit f30e5ed
dm-integrity: set max_integrity_segments in dm_integrity_io_hints
Set max_integrity_segments with the other queue limits instead
of updating it later. This also uncovered that the driver is trying
to set the limit to UINT_MAX while max_integrity_segments is an
unsigned short, so fix it up to use USHRT_MAX instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>1 parent fa34e58 commit f30e5ed
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3487 | 3487 | | |
3488 | 3488 | | |
3489 | 3489 | | |
| 3490 | + | |
3490 | 3491 | | |
3491 | 3492 | | |
3492 | 3493 | | |
| |||
3654 | 3655 | | |
3655 | 3656 | | |
3656 | 3657 | | |
3657 | | - | |
3658 | 3658 | | |
3659 | 3659 | | |
3660 | 3660 | | |
| |||
0 commit comments