These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / md / persistent-data / dm-array.c
index e64b61a..431a030 100644 (file)
@@ -233,9 +233,9 @@ static int get_ablock(struct dm_array_info *info, dm_block_t b,
 /*
  * Unlocks an array block.
  */
-static int unlock_ablock(struct dm_array_info *info, struct dm_block *block)
+static void unlock_ablock(struct dm_array_info *info, struct dm_block *block)
 {
-       return dm_tm_unlock(info->btree_info.tm, block);
+       dm_tm_unlock(info->btree_info.tm, block);
 }
 
 /*----------------------------------------------------------------*/