diff options
-rw-r--r-- | trans/fakeroot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/trans/fakeroot.c b/trans/fakeroot.c index 3756f489..920367d1 100644 --- a/trans/fakeroot.c +++ b/trans/fakeroot.c @@ -172,6 +172,9 @@ fakeroot_netfs_release_protid (void *cookie) account for that fake reference. */ np->nn->faked |= FAKE_REFERENCE; + /* Clear the lock box as if the file was closed. */ + fshelp_lock_init (&np->userlock); + /* We keep our node. */ goto out; } |