Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2007 12:55:46 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Tomas Olsson <tol@it.su.se>
Cc:        freebsd-fs@freebsd.org, "Rick C. Petty" <rick-arla@kiwi-computer.com>, arla-drinkers@stacken.kth.se
Subject:   Re: Arla on FreeBSD
Message-ID:  <20070215105546.GD39168@deviant.kiev.zoral.com.ua>
In-Reply-To: <20070215104537.GC39168@deviant.kiev.zoral.com.ua>
References:  <45D1F30A.6080403@freebsd.org> <eqsut3$6a3$1@sea.gmane.org> <20070213192906.U726@chrishome.localnet> <20070214162938.GA96725@keira.kiwi-computer.com> <20070214173211.L1054@chrishome.localnet> <20070214170808.GC96725@keira.kiwi-computer.com> <lsrvei45pq1.fsf@kashyyyk.ite.kth.se> <20070215044707.GA39168@deviant.kiev.zoral.com.ua> <lsrmz3f680v.fsf_-_@kashyyyk.ite.kth.se> <20070215104537.GC39168@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--J5MfuwkIyy7RmF4Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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);

--J5MfuwkIyy7RmF4Q
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFF1DwxC3+MBN1Mb4gRAky7AKC7e/G7xJsHOXZhCZV6ntORqNHjTQCgtU2S
HmpTCFOIMVqA04G5ghlDgrg=
=hJHR
-----END PGP SIGNATURE-----

--J5MfuwkIyy7RmF4Q--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070215105546.GD39168>