Is curthread always valid in a VOP call?

Kostik Belousov kostikbel at gmail.com
Sun Aug 31 06:42:31 UTC 2008


On Sat, Aug 30, 2008 at 07:23:07PM -0400, Rick Macklem wrote:
> Since VOP_GETATTR() and VOP_SETATTR() lost the thread argument in 
> -current, I did the obvious and used "curthread" instead. Is this
> safe to do?

Yes. Does the change forced you to use curthread often ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20080831/43e3755d/attachment.pgp


More information about the freebsd-fs mailing list