aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2014-09-16 09:30:36 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-09-30 02:29:44 -0400
commit443b39cdd5c37661bf681858b327418c3a5b9d76 (patch)
tree36df16bb974e938219adc27c665c303f70bfa8bf
parente3e00445d478f63f42a306e549f7358b6612110b (diff)
UBIFS: Fix trivial typo in power_cut_emulated()
s/withing/within/ Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rw-r--r--fs/ubifs/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c
index d0bcf9290ea4..7ed13e1e216a 100644
--- a/fs/ubifs/debug.c
+++ b/fs/ubifs/debug.c
@@ -2462,7 +2462,7 @@ static int power_cut_emulated(struct ubifs_info *c, int lnum, int write)
2462 2462
2463 if (chance(1, 2)) { 2463 if (chance(1, 2)) {
2464 d->pc_delay = 1; 2464 d->pc_delay = 1;
2465 /* Fail withing 1 minute */ 2465 /* Fail within 1 minute */
2466 delay = prandom_u32() % 60000; 2466 delay = prandom_u32() % 60000;
2467 d->pc_timeout = jiffies; 2467 d->pc_timeout = jiffies;
2468 d->pc_timeout += msecs_to_jiffies(delay); 2468 d->pc_timeout += msecs_to_jiffies(delay);