dm thin: fix discard support to a previously shared block
[deliverable/linux.git] / drivers / md / dm-thin-metadata.h
index 7bcc0e1d62386768d540c41da8e0a25bf7fe9e78..2edf5dbac76a94381d10c12de7200f8f296a96b9 100644 (file)
@@ -181,6 +181,8 @@ int dm_pool_get_data_block_size(struct dm_pool_metadata *pmd, sector_t *result);
 
 int dm_pool_get_data_dev_size(struct dm_pool_metadata *pmd, dm_block_t *result);
 
+int dm_pool_block_is_used(struct dm_pool_metadata *pmd, dm_block_t b, bool *result);
+
 /*
  * Returns -ENOSPC if the new size is too small and already allocated
  * blocks would be lost.
This page took 0.03427 seconds and 5 git commands to generate.