Skip to content

Commit

Permalink
mkcomposefs: Drop duplicate invocation of lcfs_node_set_mode()
Browse files Browse the repository at this point in the history
Just noticed this while I was reading the code for other reasons.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Sep 9, 2024
1 parent 8aeeb1b commit ab45b87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/mkcomposefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ab45b87

Please sign in to comment.