summaryrefslogtreecommitdiff
path: root/common/punch
diff options
context:
space:
mode:
Diffstat (limited to 'common/punch')
-rw-r--r--common/punch7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/punch b/common/punch
index b9f9acd4..cfbe5769 100644
--- a/common/punch
+++ b/common/punch
@@ -234,6 +234,13 @@ _filter_hole_fiemap()
_coalesce_extents
}
+
+# Prints the md5 checksum of a given file
+_md5_checksum()
+{
+ md5sum $1 | cut -d ' ' -f1
+}
+
_filter_bmap()
{
awk '