chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
readahead-replay: use posix_fadvise instead of readahead
[elogind.git]
/
src
/
namespace.c
diff --git
a/src/namespace.c
b/src/namespace.c
index 09bcaff9684845ee121544f3ebd7151a503100e5..1d8f35ba577833cc1ed947f18ea6105fd46de22b 100644
(file)
--- 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.
/***
This file is part of systemd.
@@
-151,6
+151,9
@@
static int apply_mount(Path *p, const char *root_dir, const char *inaccessible_d
case PRIVATE:
what = private_dir;
break;
case PRIVATE:
what = private_dir;
break;
+
+ default:
+ assert_not_reached("Unknown mode");
}
if ((r = mount(what, where, NULL, MS_BIND|MS_REC, NULL)) >= 0) {
}
if ((r = mount(what, where, NULL, MS_BIND|MS_REC, NULL)) >= 0) {