mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
lxc_fuse: Hide struct virLXCFuse
This structure is not used outside of lxc_fuse.c. There is no need to define it in the header file. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
89cc0ffdeb
commit
2cf223b261
@ -37,6 +37,15 @@
|
||||
|
||||
#if WITH_FUSE
|
||||
|
||||
struct virLXCFuse {
|
||||
virDomainDef *def;
|
||||
virThread thread;
|
||||
char *mountpoint;
|
||||
struct fuse *fuse;
|
||||
struct fuse_chan *ch;
|
||||
virMutex lock;
|
||||
};
|
||||
|
||||
static const char *fuse_meminfo_path = "/meminfo";
|
||||
|
||||
static int lxcProcGetattr(const char *path, struct stat *stbuf)
|
||||
|
@ -41,14 +41,6 @@ struct virLXCMeminfo {
|
||||
unsigned long long swapusage;
|
||||
};
|
||||
|
||||
struct virLXCFuse {
|
||||
virDomainDef *def;
|
||||
virThread thread;
|
||||
char *mountpoint;
|
||||
struct fuse *fuse;
|
||||
struct fuse_chan *ch;
|
||||
virMutex lock;
|
||||
};
|
||||
typedef struct virLXCFuse virLXCFuse;
|
||||
|
||||
int lxcSetupFuse(struct virLXCFuse **f, virDomainDef *def);
|
||||
|
Loading…
Reference in New Issue
Block a user