Re: [PATCH] uapi: use __u64 instead of u64

2016-05-31 Thread David Sterba
On Mon, May 30, 2016 at 06:29:07PM +0300, Dmitry V. Levin wrote:
> This bug was found by strace test suite.
> 
> Fixes: 6b526ed70cf1 ("btrfs: introduce device delete by devid")
> Signed-off-by: Dmitry V. Levin 

Thanks, a fix was sent a few days earlier

https://patchwork.kernel.org/patch/9139145/


[PATCH] uapi: use __u64 instead of u64

2016-05-30 Thread Dmitry V. Levin
This bug was found by strace test suite.

Fixes: 6b526ed70cf1 ("btrfs: introduce device delete by devid")
Signed-off-by: Dmitry V. Levin 
---
 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 23c6960..2bdd1e3 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;
};
 };
 
-- 
ldv