summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-24 21:17:07 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-24 21:17:07 +0000
commit7e4f6245dc0724f1e34d3929fa03bf5e8a8e8933 (patch)
tree5bfd03c31d2473caa57fe85a6836385a754cf342 /libdiskfs
parentd249d067fa34af24416bf91a281b000075c1d1e1 (diff)
(diskfs_remount): Use diskfs_check_readonly instead of
diskfs_readonly.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/remount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/remount.c b/libdiskfs/remount.c
index bb0690ab..1ed622f2 100644
--- a/libdiskfs/remount.c
+++ b/libdiskfs/remount.c
@@ -30,7 +30,7 @@ diskfs_remount ()
{
error_t err;
- if (! diskfs_readonly)
+ if (! diskfs_check_readonly ())
return EBUSY;
err = ports_inhibit_class_rpcs (diskfs_protid_class);