From owner-cvs-src Tue Mar 4 1:47: 0 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFF9A37B401; Tue, 4 Mar 2003 01:46:58 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id B51F943FE0; Tue, 4 Mar 2003 01:46:57 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 6894E530E; Tue, 4 Mar 2003 10:46:54 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Jeff Roberson Cc: Alfred Perlstein , Jeff Roberson , , , Subject: Re: cvs commit: src/sys/kern vfs_default.c From: Dag-Erling Smorgrav Date: Tue, 04 Mar 2003 10:46:54 +0100 In-Reply-To: <20030303193715.N72102-100000@mail.chesapeake.net> (Jeff Roberson's message of "Mon, 3 Mar 2003 19:39:23 -0500 (EST)") Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386--freebsd) References: <20030303193715.N72102-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jeff Roberson writes: > char wchanbuf[7] = " sync"; > wchanbuf[0] = vp->v_type[0]; > wchanbuf[1] = vp->v_type[1]; > > Looks good no? Using "syn" or "snc" instead of "sync" will allow you to use three characters from the filesystem type, which makes it easier to recognize. Take care to handle the case where the filesystem type name is shorter than three characters, though. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message