diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-25 15:29:12 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-25 15:29:12 +0000 |
commit | 8e88ecc32a19c6493ce477f1fd56a76bb7d09fe9 (patch) | |
tree | 38dc2347244d1ace56adae98b04c9055b6ba1cca /init | |
parent | 592894bed22253fcdf0c80631cdc6442c4edfa7a (diff) | |
download | busybox-w32-8e88ecc32a19c6493ce477f1fd56a76bb7d09fe9.tar.gz busybox-w32-8e88ecc32a19c6493ce477f1fd56a76bb7d09fe9.tar.bz2 busybox-w32-8e88ecc32a19c6493ce477f1fd56a76bb7d09fe9.zip |
Fix a possible race condition if two processes try to claim the same loop
device at the same time. We should only CLR_FD if the set status fails,
not if the SET_FD fails.
git-svn-id: svn://busybox.net/trunk/busybox@15509 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions