Arla on FreeBSD

Kostik Belousov kostikbel at gmail.com
Thu Feb 15 11:55:46 CET 2007


On Thu, Feb 15, 2007 at 12:45:37PM +0200, Kostik Belousov wrote:
> 	td = curthread;
> 	NDINIT(&nd, LOOKUP, FOLLOW | MPSAFE, UIO_USERSPACE, fname, td);
> 	flags = FREAD | FWRITE;
> 	error = vn_open(&nd, &flags, 0, -1);
And, forgot to mention that there is very subtle difference in 6.x/CURRENT
API that fd == -1 causes unconditional Giant aquision for 6.x.
> 	if (error)
> 		return (error);
> 	vfslocked = NDHASGIANT(&nd);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.stacken.kth.se/pipermail/arla-drinkers/attachments/20070215/13ac82dd/attachment.bin


More information about the Arla-drinkers mailing list