diff options
author | Ross Kirk <ross.kirk@gmail.com> | 2013-10-01 11:59:22 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-10-16 08:23:11 -0400 |
commit | 33ce9a82b89486efc85c938caac968f5ee0408e1 (patch) | |
tree | 522b49dedb9d8638079fce98ac9fbd7739dbf31c /print-tree.c | |
parent | 120e27d76fb5748db1160baf1efe0ceef59452f0 (diff) |
btrfs-progs: Make btrfs_header_fsid() return unsigned long
Internally, btrfs_header_fsid() calculates an unsigned long, but casts
it to a pointer, while all callers cast it to unsigned long again.
Committed to btrfs as fba6aa75654394fccf2530041e9451414c28084f
Fix line length issues and match changes to kernelspace
Signed-off-by: Ross Kirk <ross.kirk@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'print-tree.c')
-rw-r--r-- | print-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tree.c b/print-tree.c index b54a067d..76037fe1 100644 --- a/print-tree.c +++ b/print-tree.c @@ -191,7 +191,7 @@ static void print_uuids(struct extent_buffer *eb) char chunk_uuid[37]; u8 disk_uuid[BTRFS_UUID_SIZE]; - read_extent_buffer(eb, disk_uuid, (unsigned long)btrfs_header_fsid(), + read_extent_buffer(eb, disk_uuid, btrfs_header_fsid(), BTRFS_FSID_SIZE); fs_uuid[36] = '\0'; |