diff options
| author | Mike Snitzer <[email protected]> | 2017-11-16 20:42:26 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2017-11-16 21:33:55 +0000 |
| commit | 5d47c89f29eab6e9e224d7ac8c0baf4da72c9493 (patch) | |
| tree | b5e99cfda4c152744acffce72df6d9508192cf93 /lib/dma-debug.c | |
| parent | dm: do not set 'discards_supported' in targets that do not need it (diff) | |
| download | kernel-5d47c89f29eab6e9e224d7ac8c0baf4da72c9493.tar.gz kernel-5d47c89f29eab6e9e224d7ac8c0baf4da72c9493.zip | |
dm: clear all discard attributes in queue_limits when discards are disabled
Otherwise, it can happen that the QUEUE_FLAG_DISCARD isn't set but the
various discard attributes (which get exposed via sysfs) may be set.
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
