Split bdev into modules: lxcaufs
The functions
- aufs_clonepaths();
- aufs_create();
- aufs_destroy();
- aufs_detect();
- aufs_mount();
- aufs_umount();
move from bdev.c to lxcaufs.{c,h}. All functions which previously were static
become extern.
Adapt Makefile.am to include lxcaufs.{c,h}.
The structs
- struct bdev; /* defined in bdev.h */
- struct bdev_specs; /* defined in lxccontainer.h */
- struct lxc_conf; /* defined conf.h */
are forward declared/put as incomplete types into lxcaufs.h as the functions
associated with aufs need access to it.
Signed-off-by:
Christian Brauner <christian.brauner@mailbox.org>
Showing
src/lxc/bdev/lxcaufs.c
0 → 100644
src/lxc/bdev/lxcaufs.h
0 → 100644
Please
register
or
sign in
to comment