block: respect mount flags for /overlay
authorJo-Philipp Wich <jo@mein.io>
Mon, 25 Apr 2016 15:49:38 +0000 (17:49 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 25 Apr 2016 15:50:34 +0000 (17:50 +0200)
commit89847de58a17dacedab36ef07ec4c12ef8c0e84a
treee80dfa67aef62a3668a21528be2a06b30a887a81
parent96415afecef35766332067f4205ef3b2c7561d21
block: respect mount flags for /overlay

Instead of hardcoding no-flags in the mount syscall, use the user configured
values, this is useful when mounting external overlays with "sync" or "ro"
flags.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
block.c