diff options
author | Elliott Hughes <enh@google.com> | 2019-08-05 16:33:16 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-08-09 20:33:14 -0500 |
commit | a626662bf5abf198ef5c4dfe9c783416169242fd (patch) | |
tree | ab47a7220279a62f95d75efbe0ef8eef89597969 /toys/android | |
parent | 77df4f81bb44f4f92f0dd08d87186d35d10bfaee (diff) | |
download | toybox-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/android')
0 files changed, 0 insertions, 0 deletions