From feb5658fdf4e17a5675f0eaca7064b164ef0f6f9 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 18 Jul 1994 22:53:49 +0000 Subject: entered into RCS --- libdiskfs/ports-idle.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libdiskfs/ports-idle.c') diff --git a/libdiskfs/ports-idle.c b/libdiskfs/ports-idle.c index 507e3a64..9da021d5 100644 --- a/libdiskfs/ports-idle.c +++ b/libdiskfs/ports-idle.c @@ -15,6 +15,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "priv.h" + /* Called by the ports library when we have been idle for ten minutes. */ void @@ -23,7 +25,7 @@ ports_notice_idle (int nhard, int nsoft) spin_lock (&_diskfs_control_lock); if (nhard > _diskfs_ncontrol_ports) { - spin_unlock (&diskfs_control_lock); + spin_unlock (&_diskfs_control_lock); return; } spin_unlock (&_diskfs_control_lock); -- cgit v1.2.3