diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-02-04 22:03:46 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-02-04 22:03:46 +0000 |
commit | e07041e3eed1cca7ffddbe537fe32e61db0e50fd (patch) | |
tree | a57ebac0a4d455756e3243e68a817bc6bffaefd8 /libdiskfs | |
parent | 5748b4be6f6f10b8786c486b51d1f17353983afc (diff) |
Formerly node-drop.c.~2~
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/node-drop.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } } |