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

Dan Williams dan.j.williams at intel.com
Thu May 10 19:35:25 UTC 2012


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




More information about the dm-devel mailing list