diff options
author | Harald Hoyer <harald@redhat.com> | 2011-05-05 12:29:44 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2011-07-04 12:47:50 +0200 |
commit | 7cb1094acefff2a89dc842d84eb94a8afcac67fd (patch) | |
tree | d23ca84f51a642721d01668dc065edd83035aac7 /src/missing.h | |
parent | 31657718f5b7c39037f7b013c449100b9cf2dc21 (diff) |
shutdown: pivot_root to a tmpfs directory to properly umount root
check for /run/initramfs/shutdown
mount bind all needed dirs to /run/initramfs
pivot_root to /run/initramfs
execute /run/initramfs/shutdown
Diffstat (limited to 'src/missing.h')
-rw-r--r-- | src/missing.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/missing.h b/src/missing.h index 23ab39e653..a44390074f 100644 --- a/src/missing.h +++ b/src/missing.h @@ -172,4 +172,8 @@ struct btrfs_ioctl_vol_args { #define MS_MOVE 8192 #endif +#ifndef MS_PRIVATE +#define MS_PRIVATE (1 << 18) +#endif + #endif |