summaryrefslogtreecommitdiff
path: root/fs/ext4/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/dev.c')
-rw-r--r--fs/ext4/dev.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ext4/dev.c b/fs/ext4/dev.c
index 29076880bcc..168443de1ff 100644
--- a/fs/ext4/dev.c
+++ b/fs/ext4/dev.c
@@ -29,13 +29,14 @@
#include <ext4fs.h>
#include <ext_common.h>
#include "ext4_common.h"
+#include <log.h>
lbaint_t part_offset;
static struct blk_desc *ext4fs_blk_desc;
-static disk_partition_t *part_info;
+static struct disk_partition *part_info;
-void ext4fs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info)
+void ext4fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info)
{
assert(rbdd->blksz == (1 << rbdd->log2blksz));
ext4fs_blk_desc = rbdd;