chiark / gitweb /
nspawn: ignore EEXIST when mounting tmpfs
authorRichard Schütz <rschuetz@uni-koblenz.de>
Fri, 21 Nov 2014 20:44:48 +0000 (21:44 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 23 Nov 2014 01:05:19 +0000 (20:05 -0500)
commit6c2d07020f752547a8a45b6f03546a61a5e1672d
treed331283a75a4006448ed52f1215091a95bf208ac
parent6e3157c5e64408c01817ffef05a77c8456bef958
nspawn: ignore EEXIST when mounting tmpfs

commit 79d80fc1466512d0ca211f4bfcd9de5f2f816a5a introduced a regression that
prevents mounting a tmpfs if the mount point already exits in the container's
root file system. This commit fixes the problem by ignoring EEXIST.
src/nspawn/nspawn.c