From 33ce9a82b89486efc85c938caac968f5ee0408e1 Mon Sep 17 00:00:00 2001 From: Ross Kirk Date: Tue, 1 Oct 2013 11:59:22 +0200 Subject: 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 Signed-off-by: David Sterba Signed-off-by: Chris Mason --- cmds-check.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmds-check.c') diff --git a/cmds-check.c b/cmds-check.c index e08b79d1..c4530f72 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -5597,8 +5597,7 @@ init: btrfs_set_header_owner(c, root->root_key.objectid); write_extent_buffer(c, root->fs_info->fsid, - (unsigned long)btrfs_header_fsid(), - BTRFS_FSID_SIZE); + btrfs_header_fsid(), BTRFS_FSID_SIZE); write_extent_buffer(c, root->fs_info->chunk_tree_uuid, (unsigned long)btrfs_header_chunk_tree_uuid(c), -- cgit v1.2.3