diff options
Diffstat (limited to 'fsdev')
-rw-r--r-- | fsdev/qemu-fsdev.c | 2 | ||||
-rw-r--r-- | fsdev/qemu-fsdev.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/fsdev/qemu-fsdev.c b/fsdev/qemu-fsdev.c index 48bbfd9..813e1f7 100644 --- a/fsdev/qemu-fsdev.c +++ b/fsdev/qemu-fsdev.c @@ -21,7 +21,7 @@ static QTAILQ_HEAD(FsTypeEntry_head, FsTypeListEntry) fstype_entries = QTAILQ_HEAD_INITIALIZER(fstype_entries); static FsTypeTable FsTypes[] = { - { .name = "local", .ops = NULL}, + { .name = "local", .ops = &local_ops}, }; int qemu_fsdev_add(QemuOpts *opts) diff --git a/fsdev/qemu-fsdev.h b/fsdev/qemu-fsdev.h index 7fa4f60..b50fbe0 100644 --- a/fsdev/qemu-fsdev.h +++ b/fsdev/qemu-fsdev.h @@ -50,4 +50,5 @@ typedef struct FsTypeListEntry { extern int qemu_fsdev_add(QemuOpts *opts); extern FsTypeEntry *get_fsdev_fsentry(char *id); +extern FileOperations local_ops; #endif |