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

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

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux