summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-07-13 20:30:16 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-07-13 20:30:16 +0000
commit0d49f1d1def598e2f7b11a6981cf947ade765609 (patch)
tree5810724c928628f9c386cb19e4fe5653297f67ea
parent2062e34c35c5775d4ef226ab740a22f2c3b41308 (diff)
entered into RCS
-rw-r--r--libdiskfs/shutdown.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libdiskfs/shutdown.c b/libdiskfs/shutdown.c
index 32de8306..a7539acb 100644
--- a/libdiskfs/shutdown.c
+++ b/libdiskfs/shutdown.c
@@ -31,13 +31,13 @@ diskfs_shutdown (int flags)
fsys_goaway (trans->control, (int) arg);
}
- if (flags & FSYS_GOAWAY_RECURSE)
- fshelp_translator_iterate (sync_trans, (void *)flags);
-
if ((flags & FSYS_GOAWAY_UNLINK)
&& S_ISDIR (diskfs_root_node->dn_stat.st_mode))
return EBUSY;
-
+
+ if (flags & FSYS_GOAWAY_RECURSE)
+ fshelp_translator_iterate (sync_trans, (void *)flags);
+
/* XXX doesn't handle GOAWAY_FORCE yet */
if (!(flags & FSYS_GOAWAY_NOSYNC))