[PATCH v3 13/13] bcachefs: fiemap: emit new COMPRESSED state
From: Sweet Tea Dorminy
Date: Wed Apr 03 2024 - 03:37:56 EST
Signed-off-by: Sweet Tea Dorminy <sweettea-kernel@xxxxxxxxxx>
---
fs/bcachefs/fs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c
index d2793bae842d..54f613f977b4 100644
--- a/fs/bcachefs/fs.c
+++ b/fs/bcachefs/fs.c
@@ -921,7 +921,7 @@ static int bch2_fill_extent(struct bch_fs *c,
flags2 |= FIEMAP_EXTENT_UNWRITTEN;
if (p.crc.compression_type) {
- flags2 |= FIEMAP_EXTENT_ENCODED;
+ flags2 |= FIEMAP_EXTENT_DATA_COMPRESSED;
phys_len = p.crc.compressed_size << 9;
} else
offset += p.crc.offset;
--
2.43.0