From e528fa197258081d02b187b4b3b61894dc5d2e48 Mon Sep 17 00:00:00 2001 From: Ming-Hung Tsai Date: Fri, 27 Nov 2015 23:38:42 +0800 Subject: [PATCH] Add BLKDISCARD definition --- thin-provisioning/thin_trim.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thin-provisioning/thin_trim.cc b/thin-provisioning/thin_trim.cc index 0118b62..38a95f2 100644 --- a/thin-provisioning/thin_trim.cc +++ b/thin-provisioning/thin_trim.cc @@ -6,6 +6,10 @@ #undef BLOCK_SIZE +#ifndef BLKDISCARD +#define BLKDISCARD _IO(0x12,119) +#endif + #include "thin-provisioning/commands.h" #include "metadata.h" #include "version.h"