From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: C H Forsyth Date: Wed, 29 Dec 2010 14:30:21 +0000 To: 9fans@9fans.net In-Reply-To: <1d28fe815c8b1c4dba7e9402c94a61f9@gandalf.orthanc.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] DMEXCL vs. QTEXCL Topicbox-Message-UUID: 8ecd786a-ead6-11e9-9d60-3106f5b1d025 Qid.type == mode>>24, and since they should agree, they have equal authority. it's the file server or the device driver that ensures equality. dev.c:/^devdir\( does so for many device drivers, based on the type value of the incoming Qid. it looks like a mistake that devusb.c doesn't set QTEXCL in Qid.type when the mode requires it, but perhaps devdir should also merge the bits both ways (ie, set qid.type |= mode>>24 as well as db->mode |= qid.type<<24)