Fix bogus if-clause introduced in previous revision.
This commit is contained in:
parent
a12bed5a16
commit
3c4f143c6e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ffs_vfsops.c,v 1.172 2005/09/22 13:50:55 rpaulo Exp $ */
|
||||
/* $NetBSD: ffs_vfsops.c,v 1.173 2005/09/22 14:04:29 rpaulo Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1991, 1993, 1994
|
||||
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.172 2005/09/22 13:50:55 rpaulo Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.173 2005/09/22 14:04:29 rpaulo Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ffs.h"
|
||||
|
@ -1143,10 +1143,11 @@ ffs_unmount(struct mount *mp, int mntflags, struct proc *p)
|
|||
#ifdef UFS_EXTATTR
|
||||
if (ump->um_fstype == UFS1) {
|
||||
error = ufs_extattr_stop(mp, p);
|
||||
if (error && error != EOPNOTSUPP)
|
||||
printf("%s: ufs_extattr_stop returned %d\n",
|
||||
fs->fs_fsmnt, error);
|
||||
else
|
||||
if (error) {
|
||||
if (error != EOPNOTSUPP)
|
||||
printf("%s: ufs_extattr_stop returned %d\n",
|
||||
fs->fs_fsmnt, error);
|
||||
} else
|
||||
ufs_extattr_uepm_destroy(&ump->um_extattr);
|
||||
}
|
||||
#endif /* UFS_EXTATTR */
|
||||
|
|
Loading…
Reference in New Issue