diff options
| author | Christoph Hellwig <[email protected]> | 2024-06-17 08:04:32 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-06-19 07:58:28 -0600 |
| commit | ae0d40ff49642651f969883ef9fc79d69c1632d7 (patch) | |
| tree | f1ccaac680a28f274a99393d2e51b574e95b8bc6 /include/linux | |
| parent | c9055b44abe60da69aa4ee4fdcb78ee7fe733335 (diff) | |
loop: always update discard settings in loop_reconfigure_limits
Simplify loop_reconfigure_limits by always updating the discard limits.
This adds a little more work to loop_set_block_size, but doesn't change
the outcome as the discard flag won't change.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions