Merge pull request #223 from giuseppe/tag-1.1.2

NEWS: tag 1.1.2
This commit is contained in:
Daniel J Walsh 2020-06-29 08:29:44 -04:00 committed by GitHub
commit fb8b3e03ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

5
NEWS
View File

@ -1,3 +1,8 @@
* fuse-overlayfs-1.1.2
- fix build issues with libmusl.
- fix memory leak when creating whiteout files.
* fuse-overlayfs-1.1.1
- fix lookup for overflow uid when it is different than the overflow gid.

6
main.c
View File

@ -166,6 +166,8 @@ static bool disable_ovl_whiteout;
static uid_t overflow_uid;
static gid_t overflow_gid;
static struct ovl_ino dummy_ino;
static double
get_timeout (struct ovl_data *lo)
{
@ -747,7 +749,7 @@ node_free (void *p)
n->parent = NULL;
}
if (n->ino || n->node_lookups > 0)
if ((n->ino && n->ino != &dummy_ino) || n->node_lookups > 0)
return;
if (n->children)
@ -1082,8 +1084,6 @@ node_set_name (struct ovl_node *node, char *name)
node->name_hash = hash_string (name, SIZE_MAX);
}
static struct ovl_ino dummy_ino;
static struct ovl_node *
make_whiteout_node (const char *path, const char *name)
{