From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: checking d->grant_table against NULL? Date: Wed, 11 Apr 2012 12:12:01 +0100 Message-ID: References: <4F857744020000780007D348@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F857744020000780007D348@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On 11/04/2012 11:21, "Jan Beulich" wrote: > gnttab_prepare_for_transfer() is the only place in grant_table.c where > such a check happens. Is this check superfluous (and hence slightly > misleading), or are similar checks missing throughout the file? I suppose > the former, given that domains get inserted to the hash table only after > grant_table_create() ran, and get removed again before calling > grant_table_destroy(). I agree, I'm pretty sure it's superfluous. > Thanks, Jan > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel