Signed-off-by: Sweet Tea Dorminy <sweettea-ker...@dorminy.me>
---
 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



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to