summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2000-10-09 20:04:39 +0000
committerrwatson <rwatson@FreeBSD.org>2000-10-09 20:04:39 +0000
commit113a9e1b3545d19a713ce932d8af5394c865f00d (patch)
tree0a699e08d9bb86c2b62309c47f60ad47e4c9195d
parent873869f78cae7dde730641c0cee234e65f1764a2 (diff)
downloadFreeBSD-src-113a9e1b3545d19a713ce932d8af5394c865f00d.zip
FreeBSD-src-113a9e1b3545d19a713ce932d8af5394c865f00d.tar.gz
o Sanity check was inverted, resulting in a possible spurious panic
during unmount if extended attributes were in use. Correct by removing an unneeded (and undesirable) '!'.
-rw-r--r--sys/ufs/ufs/ufs_extattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c
index 6b45bb8..5555f17 100644
--- a/sys/ufs/ufs/ufs_extattr.c
+++ b/sys/ufs/ufs/ufs_extattr.c
@@ -155,7 +155,7 @@ ufs_extattr_uepm_destroy(struct ufs_extattr_per_mount *uepm)
if (!(uepm->uepm_flags & UFS_EXTATTR_UEPM_INITIALIZED))
panic("ufs_extattr_uepm_destroy: not initialized");
- if (!(uepm->uepm_flags & UFS_EXTATTR_UEPM_STARTED))
+ if ((uepm->uepm_flags & UFS_EXTATTR_UEPM_STARTED))
panic("ufs_extattr_uepm_destroy: called while still started");
/*
OpenPOWER on IntegriCloud