summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-17 19:25:59 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-17 19:25:59 +0000
commita1dd4173056b57f5d74edba82f30a4d15dbddf06 (patch)
tree42d63b9bbc59d65dc52f9004626c7637d97ea8f8 /libdiskfs
parentfc0250c3217b25bf69bba6c146067292f763d322 (diff)
Formerly peropen-make.c.~4~
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/peropen-make.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdiskfs/peropen-make.c b/libdiskfs/peropen-make.c
index 69c50029..32431a85 100644
--- a/libdiskfs/peropen-make.c
+++ b/libdiskfs/peropen-make.c
@@ -15,7 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include "priv.h"
+#include "protid.h"
#include <sys/file.h>
/* Create and return a new peropen structure on node NP with open
@@ -24,7 +24,6 @@ struct peropen *
diskfs_make_peropen (struct node *np, int flags)
{
struct peropen *po = malloc (sizeof (struct peropen));
- diskfs_nref (np);
po->filepointer = 0;
po->lock_status = LOCK_UN;
po->refcnt = 0;