[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [Bcache v13 09/16] Bcache: generic utility code



On Wed, May 9, 2012 at 8:10 PM, Kent Overstreet <koverstreet google com> 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 <koverstreet google com>
> ---

[..]
> +#include <linux/dynamic_fault.h>
[..]
> +#define bio_alloc_pages(...)                                           \
> +       (dynamic_fault() ? -ENOMEM      : bio_alloc_pages(__VA_ARGS__))
> +

...these missed the removal of the dynamic_fault bits.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]