summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/hastd/primary.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sbin/hastd/primary.c b/sbin/hastd/primary.c
index d99bfd7..091c236 100644
--- a/sbin/hastd/primary.c
+++ b/sbin/hastd/primary.c
@@ -234,12 +234,6 @@ cleanup(struct hast_resource *res)
/* Remember errno. */
rerrno = errno;
- /*
- * Close descriptor to /dev/hast/<name>
- * to work-around race in the kernel.
- */
- close(res->hr_localfd);
-
/* Destroy ggate provider if we created one. */
if (res->hr_ggateunit >= 0) {
struct g_gate_ctl_destroy ggiod;
OpenPOWER on IntegriCloud