diff mbox

btrfs: Use __u64 in exported linux/btrfs.h.

Message ID 1464419078-19855-1-git-send-email-vlee@freedesktop.org (mailing list archive)
State New, archived
Headers show

Commit Message

Vinson Lee May 28, 2016, 7:04 a.m. UTC
This patch fixes this build error.

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

Fixes: 6b526ed70cf1 ("btrfs: introduce device delete by devid")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
---
 include/uapi/linux/btrfs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anand Jain May 28, 2016, 4:06 p.m. UTC | #1
On 05/28/2016 03:04 PM, Vinson Lee wrote:
> This patch fixes this build error.
>
> /usr/include/linux/btrfs.h:121:3: error: unknown type name ‘u64’
>     u64 devid;
>     ^~~

  Thanks for fixing this.

-Anand


> Fixes: 6b526ed70cf1 ("btrfs: introduce device delete by devid")
> Signed-off-by: Vinson Lee <vlee@freedesktop.org>
> ---
>   include/uapi/linux/btrfs.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h
> index 23c6960e94a4..2bdd1e3e7007 100644
> --- a/include/uapi/linux/btrfs.h
> +++ b/include/uapi/linux/btrfs.h
> @@ -118,7 +118,7 @@ struct btrfs_ioctl_vol_args_v2 {
>   	};
>   	union {
>   		char name[BTRFS_SUBVOL_NAME_MAX + 1];
> -		u64 devid;
> +		__u64 devid;
>   	};
>   };
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h
index 23c6960e94a4..2bdd1e3e7007 100644
--- a/include/uapi/linux/btrfs.h
+++ b/include/uapi/linux/btrfs.h
@@ -118,7 +118,7 @@  struct btrfs_ioctl_vol_args_v2 {
 	};
 	union {
 		char name[BTRFS_SUBVOL_NAME_MAX + 1];
-		u64 devid;
+		__u64 devid;
 	};
 };