Subject: Why does specfs use genfs_nolock?
To: NetBSD tech-kern <tech-kern@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 08/31/2004 10:31:26
--Apple-Mail-34--297830458
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
Any particular reason why specfs doesn't follow the locking protocol?
(Sure leads to confusion when looking at code that use bdevvp() ...
calls VOP_OPEN() without first vn_lock()'ing the vnode... and bdevvp()
doesn't vn_lock() the vnode itself...).
-- Jason R. Thorpe <thorpej@wasabisystems.com>
--Apple-Mail-34--297830458
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFBNLXuOpVKkaBm8XkRAjPnAKCT65SgvWdxvBshdUEF/TQb88HAlgCglNqz
akN9pXtyVa7/sXEDUgQw6gI=
=wRN7
-----END PGP SIGNATURE-----
--Apple-Mail-34--297830458--