aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorMike Snitzer <[email protected]>2017-11-16 20:42:26 +0000
committerMike Snitzer <[email protected]>2017-11-16 21:33:55 +0000
commit5d47c89f29eab6e9e224d7ac8c0baf4da72c9493 (patch)
treeb5e99cfda4c152744acffce72df6d9508192cf93 /lib/dma-debug.c
parentdm: do not set 'discards_supported' in targets that do not need it (diff)
downloadkernel-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