* [PATCH] btrfs: Use __u64 in exported linux/btrfs.h.
@ 2016-05-28 7:04 Vinson Lee
2016-05-28 16:06 ` Anand Jain
0 siblings, 1 reply; 2+ messages in thread
From: Vinson Lee @ 2016-05-28 7:04 UTC (permalink / raw)
To: David Sterba, Josef Bacik, Liu Bo, Jeff Mahoney, Chris Mason,
Gabríel Arthúr Pétursson, Anand Jain
Cc: Vinson Lee, linux-btrfs
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(-)
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;
};
};
--
2.8.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs: Use __u64 in exported linux/btrfs.h.
2016-05-28 7:04 [PATCH] btrfs: Use __u64 in exported linux/btrfs.h Vinson Lee
@ 2016-05-28 16:06 ` Anand Jain
0 siblings, 0 replies; 2+ messages in thread
From: Anand Jain @ 2016-05-28 16:06 UTC (permalink / raw)
To: Vinson Lee, David Sterba, Josef Bacik, Liu Bo, Jeff Mahoney,
Chris Mason, Gabríel Arthúr Pétursson
Cc: linux-btrfs
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;
> };
> };
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-28 16:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-28 7:04 [PATCH] btrfs: Use __u64 in exported linux/btrfs.h Vinson Lee
2016-05-28 16:06 ` Anand Jain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).