summaryrefslogtreecommitdiff
path: root/include/linux/device-mapper.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2023-04-14 19:32:20 +0300
committerMike Snitzer <snitzer@kernel.org>2023-04-14 19:32:20 +0300
commitf7995089c508a5a11b0491c7b348d5c07217a4e8 (patch)
tree7c4b41a1e04d0afc1128168677678cc2712024c8 /include/linux/device-mapper.h
parent13f6facf3faeed34ca381aef4c9b153c7aed3972 (diff)
downloadlinux-f7995089c508a5a11b0491c7b348d5c07217a4e8.tar.xz
dm: unexport dm_get_queue_limits()
There are no dm_get_queue_limits() callers outside of DM core and there shouldn't be. Also, remove its BUG_ON(!atomic_read(&md->holders)) to micro-optimize __process_abnormal_io(). Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r--include/linux/device-mapper.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index 983f1f0402b5..a52d2b9a6846 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -530,8 +530,6 @@ int __init dm_early_create(struct dm_ioctl *dmi,
struct dm_target_spec **spec_array,
char **target_params_array);
-struct queue_limits *dm_get_queue_limits(struct mapped_device *md);
-
/*
* Geometry functions.
*/