Commit 7b2870f5 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by Andrei Vagin

vma: Clamp union with single element

Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 0ecd9c2b
...@@ -34,17 +34,7 @@ struct vma_area { ...@@ -34,17 +34,7 @@ struct vma_area {
union { union {
struct /* for dump */ { struct /* for dump */ {
union { int vm_socket_id;
/*
* These two cannot be assigned at once.
* The file_fd is an fd for a regular file and
* the socket_id is the inode number of the
* mapped (PF_PACKET) socket.
*
* The aio_nr_req is only for aio rings.
*/
int vm_socket_id;
};
char *aufs_rpath; /* path from aufs root */ char *aufs_rpath; /* path from aufs root */
char *aufs_fpath; /* full path from global root */ char *aufs_fpath; /* full path from global root */
......
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