aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-ioctl.c')
-rw-r--r--drivers/md/dm-ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c
index 561bda5011e0..1235135b384b 100644
--- a/drivers/md/dm-ioctl.c
+++ b/drivers/md/dm-ioctl.c
@@ -598,7 +598,7 @@ static int dev_create(struct dm_ioctl *param, size_t param_size)
598/* 598/*
599 * Always use UUID for lookups if it's present, otherwise use name or dev. 599 * Always use UUID for lookups if it's present, otherwise use name or dev.
600 */ 600 */
601static inline struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param) 601static struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param)
602{ 602{
603 if (*param->uuid) 603 if (*param->uuid)
604 return __get_uuid_cell(param->uuid); 604 return __get_uuid_cell(param->uuid);
@@ -608,7 +608,7 @@ static inline struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param)
608 return dm_get_mdptr(huge_decode_dev(param->dev)); 608 return dm_get_mdptr(huge_decode_dev(param->dev));
609} 609}
610 610
611static inline struct mapped_device *find_device(struct dm_ioctl *param) 611static struct mapped_device *find_device(struct dm_ioctl *param)
612{ 612{
613 struct hash_cell *hc; 613 struct hash_cell *hc;
614 struct mapped_device *md = NULL; 614 struct mapped_device *md = NULL;