From ea17c891650ed39ad3ef2a657d6b61a1cbcee30c Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Sun, 25 Oct 2020 01:10:58 -0400 Subject: [PATCH] fs: remove duplicate BTRFS_COMPRESS_ definitions This was fixed in 7f660f50b lib: fs: stop using libbtrfs-dev helper functions to re-enable buffer length checks but apparently some copies live on. Signed-off-by: Zygo Blaxell --- include/crucible/fs.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/crucible/fs.h b/include/crucible/fs.h index 7ab6b1a..695f4a3 100644 --- a/include/crucible/fs.h +++ b/include/crucible/fs.h @@ -122,15 +122,6 @@ namespace crucible { ostream & operator<<(ostream &os, const BtrfsIoctlDefragRangeArgs *p); - // in btrfs/ctree.h, but that's a nightmare to #include here - typedef enum { - BTRFS_COMPRESS_NONE = 0, - BTRFS_COMPRESS_ZLIB = 1, - BTRFS_COMPRESS_LZO = 2, - BTRFS_COMPRESS_ZSTD = 3, - BTRFS_COMPRESS_TYPES = 3 - } btrfs_compression_type; - struct FiemapExtent : public fiemap_extent { FiemapExtent(); FiemapExtent(const fiemap_extent &that);