Re: Arla on FreeBSD

Kostik Belousov <[email protected]>
Newsgroups gmane.comp.file-systems.arla.general,gmane.os.freebsd.devel.file-systems
Message-ID <[email protected]>
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);

_______________________________________________
Arla-drinkers mailing list
[email protected]
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFF1DwxC3+MBN1Mb4gRAky7AKC7e/G7xJsHOXZhCZV6ntORqNHjTQCgtU2S
HmpTCFOIMVqA04G5ghlDgrg=
=hJHR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.