| commit | 98f29073b13c169022cacd8c3d1db1be1cb8eb7b | [log] [download] |
|---|---|---|
| author | Kir Kolyshkin <kir@openvz.org> | Sat Feb 28 16:06:47 2015 -0800 |
| committer | Kir Kolyshkin <kir@openvz.org> | Sat Feb 28 16:06:47 2015 -0800 |
| tree | a8dfc9de3c7b24f1d5958739c970c29f2eb1b9db | |
| parent | b2f9c254447837b987288bd14b40216943f8fba0 [diff] |
make_dir_mode(): ignore EEXIST from mkdir() It seems two instances of vzctl can create a directory at the same time, so due to a time period between access() and mkdir() a directory can be created, so we need to ignore EEXIST error. Signed-off-by: Kir Kolyshkin <kir@openvz.org>