From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Thornber Subject: Re: [PATCH] dm-bufio Date: Mon, 17 Oct 2011 11:57:36 +0100 Message-ID: <20111017105735.GE13963@ubuntu> References: Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mikulas Patocka Cc: dm-devel@redhat.com, Mike Snitzer , "Alasdair G. Kergon" List-Id: dm-devel.ids On Fri, Oct 14, 2011 at 03:14:34PM -0400, Mikulas Patocka wrote: > @@ -670,7 +682,7 @@ static struct dm_buffer *__alloc_buffer_ > static struct dm_buffer *__alloc_buffer_wait(struct dm_bufio_client *c) > { > struct dm_buffer *b = __alloc_buffer_wait_no_callback(c); > - if (b && c->alloc_callback) > + if (c->alloc_callback) > c->alloc_callback(b); > return b; > } ACK.