X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Fzfs_common.h;h=3bd575ef5f956efa5274d09911f7978ba6b26d22;hb=44314918c020abc9d56e223cf8d57313a5c3db99;hp=04e73d0cd2acf6a943ec03b8d3cf2a80f86bc7b6;hpb=4d3c95f5ea7c737a21cd6b9c59435ee693b3f127;p=karo-tx-uboot.git diff --git a/include/zfs_common.h b/include/zfs_common.h index 04e73d0cd2..3bd575ef5f 100644 --- a/include/zfs_common.h +++ b/include/zfs_common.h @@ -66,9 +66,6 @@ struct zfs_filesystem { block_dev_desc_t *dev_desc; }; - -extern block_dev_desc_t *zfs_dev_desc; - struct device_s { uint64_t part_length; }; @@ -94,8 +91,6 @@ struct zfs_dirhook_info { struct zfs_filesystem *zfsget_fs(void); -int init_fs(block_dev_desc_t *dev_desc); -void deinit_fs(block_dev_desc_t *dev_desc); int zfs_open(zfs_file_t, const char *filename); uint64_t zfs_read(zfs_file_t, char *buf, uint64_t len); struct zfs_data *zfs_mount(device_t); @@ -103,7 +98,7 @@ int zfs_close(zfs_file_t); int zfs_ls(device_t dev, const char *path, int (*hook) (const char *, const struct zfs_dirhook_info *)); int zfs_devread(int sector, int byte_offset, int byte_len, char *buf); -int zfs_set_blk_dev(block_dev_desc_t *rbdd, int part); +void zfs_set_blk_dev(block_dev_desc_t *rbdd, disk_partition_t *info); void zfs_unmount(struct zfs_data *data); int lzjb_decompress(void *, void *, uint32_t, uint32_t); #endif