diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 21:16:04 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 21:16:04 +0000 |
commit | d249d067fa34af24416bf91a281b000075c1d1e1 (patch) | |
tree | bb5b92e69798a139de4b544a6cd0d1cf0a89853f | |
parent | 9863cceecbcde59efa0b6b129ef9909a7e29c9cc (diff) |
(diskfs_drop_node): Call diskfs_check_readonly before making mods.
-rw-r--r-- | libdiskfs/node-drop.c | 1 |
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) |