lkml.org 
[lkml]   [2024]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v3 13/13] bcachefs: fiemap: emit new COMPRESSED state
Date
Signed-off-by: Sweet Tea Dorminy <sweettea-kernel@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

\
 
 \ /
  Last update: 2024-05-27 16:20    [W:0.183 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site