]> git.hungrycats.org Git - bees/commitdiff
fs: remove duplicate BTRFS_COMPRESS_ definitions
authorZygo Blaxell <bees@furryterror.org>
Sun, 25 Oct 2020 05:10:58 +0000 (01:10 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sat, 28 Jan 2023 03:16:02 +0000 (22:16 -0500)
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 <bees@furryterror.org>
include/crucible/fs.h

index 7ab6b1a929b9e5e5a01800423ec102f0e4b809c8..695f4a3872169e68c015352ddec20840517a3ede 100644 (file)
@@ -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);