Re: [patch 2/8] fault-injection capabilities infrastructure

From: Akinobu Mita
Date: Tue Sep 19 2006 - 05:55:32 EST


On Mon, Sep 18, 2006 at 10:50:54PM -0700, Don Mullis wrote:
> Replace individual structure element comments with reference
> to Documentation/fault-injection/fault-injection.txt
>
> Init "interval" to 1 (smallest useful value).
> Init "times" to 1 rather than -1 (infinity), for fewer
> accidental system lockups.
>

This patch also applied with small coding style fix.

> #define DEFINE_FAULT_ATTR(name) \
> - struct fault_attr name = { .times = ATOMIC_INIT(-1), }
> + struct fault_attr name = { .interval=1, .times = ATOMIC_INIT(1), }

struct fault_attr name = { .interval = 1, .times = ATOMIC_INIT(1), }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/