Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Mar 2003 10:46:54 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        Alfred Perlstein <bright@mu.org>, Jeff Roberson <jeff@FreeBSD.org>, <src-committers@FreeBSD.org>, <cvs-src@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern vfs_default.c
Message-ID:  <xzpvfyzcvld.fsf@flood.ping.uio.no>
In-Reply-To: <20030303193715.N72102-100000@mail.chesapeake.net> (Jeff Roberson's message of "Mon, 3 Mar 2003 19:39:23 -0500 (EST)")
References:  <20030303193715.N72102-100000@mail.chesapeake.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeff Roberson <jroberson@chesapeake.net> 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




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