From 4543768d13946e9193b367330cb32ded4d96058a Mon Sep 17 00:00:00 2001 From: Iago López Galeiras Date: Tue, 31 Mar 2015 11:50:29 +0200 Subject: nspawn: change filesystem type from "bind" to NULL in mount() syscalls Try to keep syscalls as minimal as possible. --- src/core/namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/namespace.c') diff --git a/src/core/namespace.c b/src/core/namespace.c index f8a2bbc81b..718da2384d 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -293,7 +293,7 @@ static int mount_kdbus(BindMount *m) { goto fail; } - r = mount(m->path, busnode, "bind", MS_BIND, NULL); + r = mount(m->path, busnode, NULL, MS_BIND, NULL); if (r < 0) { log_error_errno(errno, "bind mount of %s failed: %m", m->path); r = -errno; -- cgit v1.2.3-54-g00ecf