]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
conf: reshuffle mount members
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 26 May 2018 10:53:12 +0000 (12:53 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 26 May 2018 10:53:12 +0000 (12:53 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.h

index 8dfc0dc9661ec98b722651f9ada06e1d65d086dd..74a55699b0ae17a528eb88947f5f7237506f9d52 100644 (file)
@@ -214,7 +214,6 @@ struct lxc_state_client {
 struct lxc_conf {
        /* Pointer to the name of the container. Do not free! */
        const char *name;
-       char *fstab;
        unsigned int tty;
        unsigned int pts;
        bool is_execute;
@@ -244,8 +243,13 @@ struct lxc_conf {
        };
 
        struct lxc_list network;
-       int auto_mounts;
-       struct lxc_list mount_list;
+
+       struct {
+               char *fstab;
+               int auto_mounts;
+               struct lxc_list mount_list;
+       };
+
        struct lxc_list caps;
        struct lxc_list keepcaps;
        struct lxc_tty_info ttys;