From e07041e3eed1cca7ffddbe537fe32e61db0e50fd Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 4 Feb 1994 22:03:46 +0000 Subject: Formerly node-drop.c.~2~ --- libdiskfs/node-drop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libdiskfs/node-drop.c') diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c index b1303f23..6c0e609d 100644 --- a/libdiskfs/node-drop.c +++ b/libdiskfs/node-drop.c @@ -25,13 +25,13 @@ diskfs_drop_node (struct node *np) fshelp_kill_translator (&np->translator); if (np->dn_stat.st_nlink == 0) { - assert (!readonly); - diskfs_node_truncate (np, 0); + assert (!diskfs_readonly); + diskfs_truncate (np, 0); np->dn_stat.st_mode = 0; np->dn_stat.st_rdev = 0; np->dn_set_ctime = np->dn_set_atime = 1; - node_update (np, 1); - diskfs_free_disknode (np); + diskfs_node_update (np, 1); + diskfs_free_node (np); } } -- cgit v1.2.3