Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761561Ab2EJTf1 (ORCPT ); Thu, 10 May 2012 15:35:27 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]:41395 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760719Ab2EJTf0 convert rfc822-to-8bit (ORCPT ); Thu, 10 May 2012 15:35:26 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 10 May 2012 12:35:25 -0700 X-Google-Sender-Auth: 1Hhimd-LeNVwns_ajw_LAXIB4-0 Message-ID: Subject: Re: [Bcache v13 09/16] Bcache: generic utility code From: Dan Williams To: Kent Overstreet Cc: linux-bcache@vger.kernel.org, linux-kernel@vger.kernel.org, dm-devel@redhat.com, tejun@google.com, agk@redhat.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 757 Lines: 20 On Wed, May 9, 2012 at 8:10 PM, Kent Overstreet wrote: > Much of this code should be moved out of drivers/block/bcache, but it > was originally written for bcache. > > Signed-off-by: Kent Overstreet > --- [..] > +#include [..] > +#define bio_alloc_pages(...) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \ > + ? ? ? (dynamic_fault() ? -ENOMEM ? ? ?: bio_alloc_pages(__VA_ARGS__)) > + ...these missed the removal of the dynamic_fault bits. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/