From owner-freebsd-current Fri Aug 31 19:25:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 60FD237B408 for ; Fri, 31 Aug 2001 19:25:12 -0700 (PDT) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.5/8.11.5) with SMTP id f812P4P14872; Fri, 31 Aug 2001 22:25:04 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 31 Aug 2001 22:25:00 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Christian Carstensen Cc: current@freebsd.org Subject: Re: ufs ext attr problem... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-283408821-999311100=:14755" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-283408821-999311100=:14755 Content-Type: TEXT/PLAIN; charset=US-ASCII Could you try the attached patch, which does what you suggest? Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Fri, 31 Aug 2001, Christian Carstensen wrote: > > hi, > > it seems like there's a problem in ffs_unmount, ffs_vfsops.c:841: > > if ufs_extattr_stop() returns EOPNOTSUPP, calling ufs_extattr_uepm_destroy > two lines later will cause a panic("ufs_extattr_uepm_destroy: not initialized") > in ufs_extattr.c:175, at least on my machine. > maybe, ufs_extattr_uepm_destroy() should be enclosed in a else statement > in ffs_vfsops.c? > > > best, > christian > > -- > "Sorry, no defects found. Please try a different search" > [http://www.cisco.com/support/bugtools/bugtool.shtml] > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > --0-283408821-999311100=:14755 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="extattr.diff" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: extattr.diff SW5kZXg6IGZmc192ZnNvcHMuYw0KPT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0K UkNTIGZpbGU6IC9ob21lL25jdnMvc3JjL3N5cy91ZnMvZmZzL2Zmc192ZnNv cHMuYyx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTU3DQpkaWZmIC11IC1y MS4xNTcgZmZzX3Zmc29wcy5jDQotLS0gZmZzX3Zmc29wcy5jCTIwMDEvMDYv MjggMjI6MjE6MjcJMS4xNTcNCisrKyBmZnNfdmZzb3BzLmMJMjAwMS8wOS8w MSAwMjoyMjo1NQ0KQEAgLTgzNCwxMSArODM0LDEzIEBADQogCQlmbGFncyB8 PSBGT1JDRUNMT1NFOw0KIAl9DQogI2lmZGVmIFVGU19FWFRBVFRSDQotCWlm ICgoZXJyb3IgPSB1ZnNfZXh0YXR0cl9zdG9wKG1wLCBwKSkpDQorCWlmICgo ZXJyb3IgPSB1ZnNfZXh0YXR0cl9zdG9wKG1wLCBwKSkpIHsNCiAJCWlmIChl cnJvciAhPSBFT1BOT1RTVVBQKQ0KIAkJCXByaW50ZigiZmZzX3VubW91bnQ6 IHVmc19leHRhdHRyX3N0b3AgcmV0dXJuZWQgJWRcbiIsDQogCQkJICAgIGVy cm9yKTsNCi0JdWZzX2V4dGF0dHJfdWVwbV9kZXN0cm95KCZ1bXAtPnVtX2V4 dGF0dHIpOw0KKwl9IGVsc2Ugew0KKwkJdWZzX2V4dGF0dHJfdWVwbV9kZXN0 cm95KCZ1bXAtPnVtX2V4dGF0dHIpOw0KKwl9DQogI2VuZGlmDQogCWlmICht cC0+bW50X2ZsYWcgJiBNTlRfU09GVERFUCkgew0KIAkJaWYgKChlcnJvciA9 IHNvZnRkZXBfZmx1c2hmaWxlcyhtcCwgZmxhZ3MsIHApKSAhPSAwKQ0K --0-283408821-999311100=:14755-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message