summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-20 01:11:04 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-20 01:11:04 +0000
commita56b04da105a54538a73840ea61a668719ee327a (patch)
tree39db4d47a8846af713323f34e10227357cff224a /libdiskfs
parent4c5607409c9ae0996ea02df9711fe1a13c22727f (diff)
(diskfs_shutdown):
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/shutdown.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libdiskfs/shutdown.c b/libdiskfs/shutdown.c
index 1dfeeb99..c42ea06e 100644
--- a/libdiskfs/shutdown.c
+++ b/libdiskfs/shutdown.c
@@ -53,7 +53,11 @@ diskfs_shutdown (int flags)
return EBUSY;
if (flags & FSYS_GOAWAY_RECURSE)
- diskfs_node_iterate (helper);
+ {
+ err = diskfs_node_iterate (helper);
+ if (err)
+ return err;
+ }
mutex_lock (&diskfs_shutdown_lock);