From owner-freebsd-fs@FreeBSD.ORG Sun Aug 31 06:42:31 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FEA8106567D for ; Sun, 31 Aug 2008 06:42:31 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id B9A8C8FC18 for ; Sun, 31 Aug 2008 06:42:30 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1KZgAg-00064S-0L; Sun, 31 Aug 2008 09:12:22 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m7V6CJE4011330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 31 Aug 2008 09:12:19 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m7V6CITn044520; Sun, 31 Aug 2008 09:12:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m7V6CIrQ044519; Sun, 31 Aug 2008 09:12:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 31 Aug 2008 09:12:18 +0300 From: Kostik Belousov To: Rick Macklem Message-ID: <20080831061218.GJ2038@deviant.kiev.zoral.com.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YtWd7p+F4osuzCU+" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1KZgAg-00064S-0L afd2ba53c9f4ab3ec2121edc2843955f X-Terabit: YES Cc: freebsd-fs@freebsd.org Subject: Re: Is curthread always valid in a VOP call? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2008 06:42:31 -0000 --YtWd7p+F4osuzCU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 30, 2008 at 07:23:07PM -0400, Rick Macklem wrote: > Since VOP_GETATTR() and VOP_SETATTR() lost the thread argument in=20 > -current, I did the obvious and used "curthread" instead. Is this > safe to do? Yes. Does the change forced you to use curthread often ? --YtWd7p+F4osuzCU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAki6NkIACgkQC3+MBN1Mb4jR3gCdFHsr5WxcTzEZP2lSajwD05/K PWkAoIRUnPbz8GUVsls2OKBpShadsXR+ =H9tj -----END PGP SIGNATURE----- --YtWd7p+F4osuzCU+--