Btrfs: Make btrfs_device_fsid() return unsigned long
All callers of btrfs_device_fsid() cast its return type to unsigned long. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Esse commit está contido em:

commit de
Chris Mason

pai
410ba3a291
commit
1473b24ee0
@@ -2169,9 +2169,9 @@ static inline unsigned long btrfs_device_uuid(struct btrfs_dev_item *d)
|
||||
return (unsigned long)d + offsetof(struct btrfs_dev_item, uuid);
|
||||
}
|
||||
|
||||
static inline char *btrfs_device_fsid(struct btrfs_dev_item *d)
|
||||
static inline unsigned long btrfs_device_fsid(struct btrfs_dev_item *d)
|
||||
{
|
||||
return (char *)d + offsetof(struct btrfs_dev_item, fsid);
|
||||
return (unsigned long)d + offsetof(struct btrfs_dev_item, fsid);
|
||||
}
|
||||
|
||||
BTRFS_SETGET_FUNCS(chunk_length, struct btrfs_chunk, length, 64);
|
||||
|
Referência em uma nova issue
Block a user