]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/namespace.c
namespace: instead of chasing mount symlinks a priori, do so as-we-go
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Dec 2016 23:51:37 +0000 (00:51 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Dec 2016 23:51:37 +0000 (00:51 +0100)
commit8fceda937f3a177d9e27b403fb5e1b34138b05f5
tree6453f86079b33adf50355f3c01c0314dce443be1
parent34de407a4fca46cdb5e45aae149604fe10102ecf
namespace: instead of chasing mount symlinks a priori, do so as-we-go

This is relevant as many of the mounts we try to establish only can be followed
when some other prior mount that is a prefix of it is established. Hence: move
the symlink chasing into the actual mount functions, so that we do it as late
as possibly but as early as necessary.

Fixes: #4588
src/core/namespace.c