chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd3fa1d
)
container: when shutting down in a container don't detach loop devices
author
Lennart Poettering
<lennart@poettering.net>
Fri, 13 Jul 2012 12:42:25 +0000
(14:42 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 13 Jul 2012 12:42:25 +0000
(14:42 +0200)
We don't do device handling in containers, hence no loop devices either.
src/core/shutdown.c
patch
|
blob
|
history
diff --git
a/src/core/shutdown.c
b/src/core/shutdown.c
index 363046e1a49ef9ff1462e13a78b60008d4debf05..1290d807f0eeaf13e19ec05af430782eb2833fb2 100644
(file)
--- a/
src/core/shutdown.c
+++ b/
src/core/shutdown.c
@@
-184,6
+184,7
@@
int main(int argc, char *argv[]) {
if (in_container) {
need_swapoff = false;
need_dm_detach = false;
+ need_loop_detach = false;
}
/* Unmount all mountpoints, swaps, and loopback devices */