diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2000-10-09 20:04:39 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2000-10-09 20:04:39 +0000 |
commit | d62bd6076e01887861b00f1462567012e63f7b77 (patch) | |
tree | af580e1da91b35eadc53bc2f31652418a2b879f9 | |
parent | b00aeda6f05e55a0ebe2804c1bad37f7a20d9e6d (diff) | |
download | src-d62bd6076e01887861b00f1462567012e63f7b77.tar.gz src-d62bd6076e01887861b00f1462567012e63f7b77.zip |
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) '!'.
Notes
Notes:
svn path=/head/; revision=66893
-rw-r--r-- | sys/ufs/ufs/ufs_extattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c index 6b45bb8f4c74..5555f17734c0 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"); /* |