diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-26 20:40:26 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-26 20:40:26 +0000 |
commit | b7243c0b5a9e8f324ff14848f11c925a1167c19e (patch) | |
tree | b59abea51fbc06a5e962de21890d0d4de0016f9e /libdiskfs | |
parent | 49ae3188ef6ee567c08279209461071422badcb7 (diff) |
(diskfs_shutdown): Fix parentheses on bitwise tests.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/shutdown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/shutdown.c b/libdiskfs/shutdown.c index 293941f4..7427bbe4 100644 --- a/libdiskfs/shutdown.c +++ b/libdiskfs/shutdown.c @@ -78,7 +78,7 @@ diskfs_shutdown (int flags) /* First, see if there are outstanding user ports. */ nports = ports_count_class (diskfs_protid_class); - if ((flags & FSYS_GOAWAY_FORCE == 0) + if (((flags & FSYS_GOAWAY_FORCE) == 0) && (nports || diskfs_pager_users ())) { ports_enable_class (diskfs_protid_class); @@ -86,7 +86,7 @@ diskfs_shutdown (int flags) return EBUSY; } - if (flags & FSYS_GOAWAY_NOSYNC == 0) + if ((flags & FSYS_GOAWAY_NOSYNC) == 0) { diskfs_shutdown_pager (); diskfs_set_hypermetadata (1, 1); |