1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-18 05:45:45 +02:00

Merge remote-tracking branch 'nefelim4ag/master'

This commit is contained in:
Zygo Blaxell 2018-01-06 22:54:49 -05:00
commit 305ab5dbfa
2 changed files with 3 additions and 2 deletions

View File

@ -112,8 +112,8 @@ namespace crucible {
BTRFS_COMPRESS_NONE = 0, BTRFS_COMPRESS_NONE = 0,
BTRFS_COMPRESS_ZLIB = 1, BTRFS_COMPRESS_ZLIB = 1,
BTRFS_COMPRESS_LZO = 2, BTRFS_COMPRESS_LZO = 2,
BTRFS_COMPRESS_TYPES = 2, BTRFS_COMPRESS_ZSTD = 3,
BTRFS_COMPRESS_LAST = 3, BTRFS_COMPRESS_TYPES = 3
} btrfs_compression_type; } btrfs_compression_type;
struct FiemapExtent : public fiemap_extent { struct FiemapExtent : public fiemap_extent {

View File

@ -468,6 +468,7 @@ namespace crucible {
static const bits_ntoa_table table[] = { static const bits_ntoa_table table[] = {
NTOA_TABLE_ENTRY_ENUM(BTRFS_COMPRESS_ZLIB), NTOA_TABLE_ENTRY_ENUM(BTRFS_COMPRESS_ZLIB),
NTOA_TABLE_ENTRY_ENUM(BTRFS_COMPRESS_LZO), NTOA_TABLE_ENTRY_ENUM(BTRFS_COMPRESS_LZO),
NTOA_TABLE_ENTRY_ENUM(BTRFS_COMPRESS_ZSTD),
NTOA_TABLE_ENTRY_END() NTOA_TABLE_ENTRY_END()
}; };
return bits_ntoa(compress_type, table); return bits_ntoa(compress_type, table);