Skip to content

Commit

Permalink
btrfs: Use __u64 in exported linux/btrfs.h.
Browse files Browse the repository at this point in the history
This patch fixes this build error.

/usr/include/linux/btrfs.h:121:3: error: unknown type name ‘u64’
   u64 devid;
   ^~~

Fixes: 6b526ed ("btrfs: introduce device delete by devid")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Signed-off-by: David Sterba <dsterba@suse.com>
  • Loading branch information
Vinson Lee authored and David Sterba committed May 30, 2016
1 parent 56244ef commit 1691cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/uapi/linux/btrfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ struct btrfs_ioctl_vol_args_v2 {
};
union {
char name[BTRFS_SUBVOL_NAME_MAX + 1];
u64 devid;
__u64 devid;
};
};

Expand Down

0 comments on commit 1691cf1

Please sign in to comment.