diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-27 17:28:43 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-28 16:33:57 +0200 |
commit | f7fa69e896f0971629f938be93cb30865f92943c (patch) | |
tree | db6dd754b95cec7db7a274c882c5eb07e5982e3d /lib/fstree | |
parent | 256c2458a4fa298c876d8e4a4450cb9a0834b877 (diff) |
Add general purpose flags field to file_info_t
Simplifies some task if we can just add a flag that a file has a framgent
or that it has already been detected as a duplicate.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstree')
-rw-r--r-- | lib/fstree/mknode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/fstree/mknode.c b/lib/fstree/mknode.c index 18602e4..d343145 100644 --- a/lib/fstree/mknode.c +++ b/lib/fstree/mknode.c @@ -60,8 +60,6 @@ tree_node_t *fstree_mknode(fstree_t *fs, tree_node_t *parent, const char *name, case S_IFREG: n->data.file = (file_info_t *)n->payload; n->data.file->size = sb->st_size; - n->data.file->fragment = 0xFFFFFFFF; - n->data.file->fragment_offset = 0xFFFFFFFF; if (extra == NULL) break; |