diff options
author | Miles Bader <miles@gnu.org> | 1995-10-19 19:56:26 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-10-19 19:56:26 +0000 |
commit | 2ccd412dc72b036719a2f48302549a6370c6d3c4 (patch) | |
tree | c311ed6351fd918efbed98e8380a7f97140df357 /libdiskfs | |
parent | a41a51faf3fab228ce6a6109f085d496fdc7a833 (diff) |
(diskfs_startup_diskfs):
Call diskfs_readonly_changed if we're starting up writable.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/init-startup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c index cf2a64d7..58fcbe9b 100644 --- a/libdiskfs/init-startup.c +++ b/libdiskfs/init-startup.c @@ -29,6 +29,10 @@ diskfs_startup_diskfs (mach_port_t bootstrap) mach_port_t realnode; struct port_info *newpi; + if (! diskfs_readonly) + /* Change to writable mode. */ + diskfs_readonly_changed (0); + if (bootstrap != MACH_PORT_NULL) { _diskfs_ncontrol_ports++; |