diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/shutdown.c | 6 |
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); |