Date: Tue, 13 Aug 2002 04:11:51 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_default.c Message-ID: <200208131111.g7DBBp5a065440@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2002/08/13 04:11:51 PDT
Modified files:
sys/kern vfs_default.c
Log:
Remember to unlock the (optional) vnode in vfs_stdextattrctl(). Failing
to do this made the following script hang:
#!/bin/sh
set -ex
extattrctl start /tmp
extattrctl initattr 64 /tmp/EA00
extattrctl enable /tmp user ea00 /tmp/EA00
extattrctl showattr /tmp/EA00
if the filesystem backing /tmp did not support EAs.
The real solution is probably to have the extattrctl syscall do the
unlocking rather than depend on the filesystem to do it. Considering
that extattrctl is going to be made obsolete anyway, this has dogwash
priority.
Sponsored by: DARPA & NAI Labs.
Revision Changes Path
1.65 +2 -0 src/sys/kern/vfs_default.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208131111.g7DBBp5a065440>
