On 2024/12/10 17:34, wangzijie wrote:
[...]
diff --git a/fsck/xattr.c b/fsck/xattr.c
index 6373c06..3abdcd8 100644
--- a/fsck/xattr.c
+++ b/fsck/xattr.c
@@ -18,7 +18,7 @@
#include "xattr.h"
void *read_all_xattrs(struct f2fs_sb_info *sbi, struct f2fs_node *inode,
-
Currently when we check xattr of inode which dosen't have xnid, we make
unnecessary
memory alloc and copy. Followed by ShengYong's suggestion[1], change the
behaviors of
read_all_xattrs and write_all_xattrs, and add a new function free_xattrs.
* read_all_xattrs: If xnid dosen't exist and there's