From 9979ccfd1c511cdd73580c9c2926e957850e792d Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 23 Sep 1994 21:48:23 +0000 Subject: Formerly diskfs.h.~38~ --- libdiskfs/diskfs.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libdiskfs') diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h index b0f4c653..0c3d3143 100644 --- a/libdiskfs/diskfs.h +++ b/libdiskfs/diskfs.h @@ -18,6 +18,8 @@ #ifndef _HURD_DISKFS #define _HURD_DISKFS +#include + /* Each user port referring to a file points to one of these (with the aid of the ports library. */ struct protid @@ -523,8 +525,6 @@ diskfs_nref (struct node *np) extern inline void diskfs_nput (struct node *np) { - int nlinks; - spin_lock (&diskfs_node_refcnt_lock); assert (np->references); np->references--; @@ -550,8 +550,6 @@ diskfs_nput (struct node *np) extern inline void diskfs_nrele (struct node *np) { - int nlinks; - spin_lock (&diskfs_node_refcnt_lock); assert (np->references); np->references--; -- cgit v1.2.3