mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 14:50:19 +00:00
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>
This commit is contained in:
parent
e3e00445d4
commit
443b39cdd5
@ -2462,7 +2462,7 @@ static int power_cut_emulated(struct ubifs_info *c, int lnum, int write)
|
|||||||
|
|
||||||
if (chance(1, 2)) {
|
if (chance(1, 2)) {
|
||||||
d->pc_delay = 1;
|
d->pc_delay = 1;
|
||||||
/* Fail withing 1 minute */
|
/* Fail within 1 minute */
|
||||||
delay = prandom_u32() % 60000;
|
delay = prandom_u32() % 60000;
|
||||||
d->pc_timeout = jiffies;
|
d->pc_timeout = jiffies;
|
||||||
d->pc_timeout += msecs_to_jiffies(delay);
|
d->pc_timeout += msecs_to_jiffies(delay);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user