btrfs-progs: Make btrfs_header_chunk_tree_uuid() return unsigned long
[platform/upstream/btrfs-progs.git] / disk-io.c
index dc84a46..7eda2e1 100644 (file)
--- a/disk-io.c
+++ b/disk-io.c
@@ -1108,7 +1108,7 @@ static struct btrfs_fs_info *__open_ctree_fd(int fp, const char *path,
 
        eb = fs_info->chunk_root->node;
        read_extent_buffer(eb, fs_info->chunk_tree_uuid,
-                          (unsigned long)btrfs_header_chunk_tree_uuid(eb),
+                          btrfs_header_chunk_tree_uuid(eb),
                           BTRFS_UUID_SIZE);
 
        ret = btrfs_setup_all_roots(fs_info, root_tree_bytenr, flags);