namespace: we always use a root_directory now
We changed to always setup the new namespace in a separate directory
(commit 0722b35
)
This commit is contained in:
parent
ad8e66dcc4
commit
4a756839e6
|
@ -419,11 +419,7 @@ static int mount_path_compare(const void *a, const void *b) {
|
||||||
static int prefix_where_needed(MountEntry *m, size_t n, const char *root_directory) {
|
static int prefix_where_needed(MountEntry *m, size_t n, const char *root_directory) {
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
/* Prefixes all paths in the bind mount table with the root directory if it is specified and the entry needs
|
/* Prefixes all paths in the bind mount table with the root directory if the entry needs that. */
|
||||||
* that. */
|
|
||||||
|
|
||||||
if (!root_directory)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
for (i = 0; i < n; i++) {
|
for (i = 0; i < n; i++) {
|
||||||
char *s;
|
char *s;
|
||||||
|
|
Loading…
Reference in New Issue