Revision cdeefd9b
ID | cdeefd9b5fa8f36ff43959d7e4f16a95d067f94c |
Remove race condition in FileStorage.Create
Rather than checking that the file doesn't exist, and then creating it,
we create it with O_CREAT | O_EXCL, making sure the checking/creation is
atomic.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Files
- added
- modified
- copied
- renamed
- deleted