aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/expr.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-08-05 16:33:16 -0700
committerRob Landley <rob@landley.net>2019-08-09 20:33:14 -0500
commita626662bf5abf198ef5c4dfe9c783416169242fd (patch)
treeab47a7220279a62f95d75efbe0ef8eef89597969 /toys/pending/expr.c
parent77df4f81bb44f4f92f0dd08d87186d35d10bfaee (diff)
downloadtoybox-a626662bf5abf198ef5c4dfe9c783416169242fd.tar.gz
losetup: fix the race.
There's a race between LOOP_CTL_GET_FREE and LOOP_SET_FD. Work around it by just retrying if we get EBUSY on the LOOP_SET_FD call. This is what similar code in ChromeOS already does. Bug: http://b/135716654
Diffstat (limited to 'toys/pending/expr.c')
0 files changed, 0 insertions, 0 deletions