aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/node-lastref.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-12-19 01:39:36 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-12-19 01:41:48 +0100
commitb37c7dd4dd0de064b7ae2c9ad5687ebb635677c8 (patch)
tree82efcf65d6105cd926729f4a3ca55a960fdbcc1a /libdiskfs/node-lastref.c
parentd3594ddad8fdd4f28f2362ad288acd03ed60eb41 (diff)
downloadhurd-b37c7dd4dd0de064b7ae2c9ad5687ebb635677c8.tar.gz
hurd-b37c7dd4dd0de064b7ae2c9ad5687ebb635677c8.tar.bz2
hurd-b37c7dd4dd0de064b7ae2c9ad5687ebb635677c8.zip
libfshelp: Add weak reference for hash table reference
Fixes reference w/o send right crash. * libfshelp/get-identity.c (fshelp_get_identity): Get weak reference for the hash table reference. (id_initialize): Pass id_clean as dropweak_routine instead of clean_routine to ports_create_class. (id_clean): Remove from hash table only if there are no hard references left, i.e. we didn't reacquired a port right in between.
Diffstat (limited to 'libdiskfs/node-lastref.c')
0 files changed, 0 insertions, 0 deletions