summaryrefslogtreecommitdiff
path: root/libdiskfs/node-drop.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-24 21:16:04 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-24 21:16:04 +0000
commitd249d067fa34af24416bf91a281b000075c1d1e1 (patch)
treebb5b92e69798a139de4b544a6cd0d1cf0a89853f /libdiskfs/node-drop.c
parent9863cceecbcde59efa0b6b129ef9909a7e29c9cc (diff)
(diskfs_drop_node): Call diskfs_check_readonly before making mods.
Diffstat (limited to 'libdiskfs/node-drop.c')
-rw-r--r--libdiskfs/node-drop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c
index 6fcb8cd8..721d269c 100644
--- a/libdiskfs/node-drop.c
+++ b/libdiskfs/node-drop.c
@@ -27,6 +27,7 @@ diskfs_drop_node (struct node *np)
if (np->dn_stat.st_nlink == 0)
{
+ diskfs_check_readonly ();
assert (!diskfs_readonly);
if (np->istranslated)