From ab45b87188395f255c2e4adb15ac82896f5b6697 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 9 Sep 2024 11:29:34 -0400 Subject: [PATCH] mkcomposefs: Drop duplicate invocation of lcfs_node_set_mode() Just noticed this while I was reading the code for other reasons. Signed-off-by: Colin Walters --- tools/mkcomposefs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/mkcomposefs.c b/tools/mkcomposefs.c index 7415cd62..fd2fa93d 100644 --- a/tools/mkcomposefs.c +++ b/tools/mkcomposefs.c @@ -507,7 +507,6 @@ static char *tree_from_dump_line(dump_info *info, const char *line, size_t line_ if (digest == NULL && err) return err; - lcfs_node_set_mode(node, mode); lcfs_node_set_size(node, size); lcfs_node_set_nlink(node, nlink); lcfs_node_set_uid(node, uid);