X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fnamespace.c;h=54b22f494e5fc4a58d9017fa95fa0191589943aa;hp=9e964c5b8f4348fa8b3cf905ae0e5d29e9dd410f;hb=71092d70af35567dd154d3de2ce04ce62e157a7c;hpb=e364ad0628b5930a671ae5be863b960f4bd748a8 diff --git a/src/namespace.c b/src/namespace.c index 9e964c5b8..54b22f494 100644 --- a/src/namespace.c +++ b/src/namespace.c @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. @@ -161,11 +161,11 @@ static int apply_mount(Path *p, const char *root_dir, const char *inaccessible_d /* The bind mount will always inherit the original * flags. If we want to set any flag we need - * to do so in a second indepdant step. */ + * to do so in a second independent step. */ if (flags) r = mount(NULL, where, NULL, MS_REMOUNT|MS_BIND|MS_REC|flags, NULL); - /* Avoid expontial growth of trees */ + /* Avoid exponential growth of trees */ if (r >= 0 && path_equal(p->path, "/")) r = mount(NULL, where, NULL, MS_REMOUNT|MS_BIND|MS_UNBINDABLE|flags, NULL);