commit | 934da82913f70ea3c68bcbcd7b184be54c2c2061 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Sun Jun 25 15:29:12 2006 +0000 |
committer | Rob Landley <rob@landley.net> | Sun Jun 25 15:29:12 2006 +0000 |
tree | 38dc2347244d1ace56adae98b04c9055b6ba1cca | |
parent | 768945b762b8850691acd2b63116eed18faa1812 [diff] |
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.