]> Pileus Git - ~andy/linux/blobdiff - drivers/md/dm-thin-metadata.h
Merge tag 'mmc-updates-for-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / drivers / md / dm-thin-metadata.h
index 7bcc0e1d62386768d540c41da8e0a25bf7fe9e78..9a368567632f9733f04bc0a1aebfbc3d871f13df 100644 (file)
@@ -131,7 +131,7 @@ dm_thin_id dm_thin_dev_id(struct dm_thin_device *td);
 
 struct dm_thin_lookup_result {
        dm_block_t block;
-       unsigned shared:1;
+       bool shared:1;
 };
 
 /*
@@ -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.