fs: export btrfs_compress_type_ntoa

We already had a function that was _similar_, so add decoding for compress
type NONE, give it a less specific name, and declare it in fs.h.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2022-12-20 20:50:54 -05:00
Ursprung 6556566f54
Commit 30ece57116
2 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
+1
Datei anzeigen
@@ -212,6 +212,7 @@ namespace crucible {
string btrfs_search_type_ntoa(unsigned type);
string btrfs_search_objectid_ntoa(uint64_t objectid);
string btrfs_compress_type_ntoa(uint8_t type);
uint64_t btrfs_get_root_id(int fd);
uint64_t btrfs_get_root_transid(int fd);