Commit b1b02fe6 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

images: split namespace contants per subsystems

Currently all values of constants should be continuous,
because cr_fdset_open is used for opening images for all namespaces.

The next patches will rework this code and image files will be opened
per namespace, then all these ugly settings of one constant to another
will be removed.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 8a23c310
......@@ -33,15 +33,21 @@ enum {
_CR_FD_NS_FROM,
CR_FD_UTSNS,
CR_FD_MNTS,
_CR_FD_IPCNS_FROM = CR_FD_MNTS,
CR_FD_IPC_VAR,
CR_FD_IPCNS_SHM,
CR_FD_IPCNS_MSG,
CR_FD_IPCNS_SEM,
CR_FD_MNTS,
CR_FD_NETDEV,
_CR_FD_IPCNS_TO,
_CR_FD_NETNS_FROM = CR_FD_IPCNS_SEM,
CR_FD_NETDEV = _CR_FD_IPCNS_TO,
CR_FD_IFADDR,
CR_FD_ROUTE,
_CR_FD_NS_TO,
_CR_FD_NETNS_TO,
_CR_FD_NS_TO = _CR_FD_NETNS_TO,
CR_FD_PSTREE,
CR_FD_SHMEM_PAGEMAP,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment