aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device-mapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r--include/linux/device-mapper.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index 2646aed1d3fe..51cc1deb7af3 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -375,6 +375,7 @@ int dm_create(int minor, struct mapped_device **md);
375 */ 375 */
376struct mapped_device *dm_get_md(dev_t dev); 376struct mapped_device *dm_get_md(dev_t dev);
377void dm_get(struct mapped_device *md); 377void dm_get(struct mapped_device *md);
378int dm_hold(struct mapped_device *md);
378void dm_put(struct mapped_device *md); 379void dm_put(struct mapped_device *md);
379 380
380/* 381/*
@@ -604,9 +605,4 @@ static inline unsigned long to_bytes(sector_t n)
604 return (n << SECTOR_SHIFT); 605 return (n << SECTOR_SHIFT);
605} 606}
606 607
607/*-----------------------------------------------------------------
608 * Helper for block layer and dm core operations
609 *---------------------------------------------------------------*/
610int dm_underlying_device_busy(struct request_queue *q);
611
612#endif /* _LINUX_DEVICE_MAPPER_H */ 608#endif /* _LINUX_DEVICE_MAPPER_H */