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 12/13] f2fs: fiemap: emit new COMPRESSED state
Date
Signed-off-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
---
fs/f2fs/data.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 2a3625c10125..e999cb1bb02f 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -2014,6 +2014,7 @@ int f2fs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,

if (compr_cluster) {
flags = FIEMAP_EXTENT_ENCODED |
+ flags = FIEMAP_EXTENT_DATA_COMPRESSED |
FIEMAP_EXTENT_HAS_PHYS_LEN;
count_in_cluster += map.m_len;
if (count_in_cluster == cluster_size) {
--
2.43.0

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