summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-01-27 17:01:35 +0000
committerMiles Bader <miles@gnu.org>1996-01-27 17:01:35 +0000
commit166d1d8db09ad7385f4851624ba8208b03b19d90 (patch)
tree13573d3b6df1da7a730327eefd869ad54dbd8315
parent7577f9b2fd0dd4ab6db49934b27f89ea26ccf33e (diff)
(diskfs_remount): Deal with ports_inhibit_class_rpcs returning an error.
-rw-r--r--libdiskfs/remount.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libdiskfs/remount.c b/libdiskfs/remount.c
index 8e3b3b5f..bb0690ab 100644
--- a/libdiskfs/remount.c
+++ b/libdiskfs/remount.c
@@ -1,6 +1,6 @@
/* Remount an active filesystem
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -33,7 +33,9 @@ diskfs_remount ()
if (! diskfs_readonly)
return EBUSY;
- ports_inhibit_class_rpcs (diskfs_protid_class);
+ err = ports_inhibit_class_rpcs (diskfs_protid_class);
+ if (err)
+ return err;
err = diskfs_reload_global_state ();
if (!err)