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>
1 file changed