diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-05 23:38:53 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-09 15:08:00 +0100 |
commit | 7d20408ec4a5dbc973520dd78dd2531c6a1471c7 (patch) | |
tree | eaad6dc7786df9977b5f343d1fca9532a027f156 /trans/firmlink.c | |
parent | 61c77d679840e4c4455615295ac30215bb01cdf5 (diff) |
trans: fix reference counting bug in fakeroot
The function new_node creates virtual nodes using netfs_make_node.
Nodes created with netfs_make_node already have a reference count of
one. Currently another reference is added in new_node. This prevents
the destruction of the node causing bugs like this:
% fakeroot-hurd sh -c 'l(){ flock /tmp/$$.lock true; }; l; l'
<hangs>
* trans/fakeroot.c (new_node): Fix reference count of newly created
nodes.
Diffstat (limited to 'trans/firmlink.c')
0 files changed, 0 insertions, 0 deletions