fault-inject: fix inverted interval/probability values in printk
authorFlorian Westphal <fw@strlen.de>
Thu, 22 Oct 2015 20:32:27 +0000 (13:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Oct 2015 08:55:10 +0000 (17:55 +0900)
commitbb387002693ed28b2bb0408c5dec65521b71e5f1
tree4721059ddc0143e4ffbdacf8ce1196e4bec85fc1
parent3f181b4d8652f7bcd7e9932c7307b8ecd4d87cf6
fault-inject: fix inverted interval/probability values in printk

interval displays the probability and vice versa.

Fixes: 6adc4a22f20bb ("fault-inject: add ratelimit option")
Acked-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/fault-inject.c