linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] uapi: use __u64 instead of u64
@ 2016-05-30 15:29 Dmitry V. Levin
  2016-05-31 19:47 ` David Sterba
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry V. Levin @ 2016-05-30 15:29 UTC (permalink / raw)
  To: Anand Jain, Chris Mason; +Cc: David Sterba, Jeff Mahoney, linux-kernel

This bug was found by strace test suite.

Fixes: 6b526ed70cf1 ("btrfs: introduce device delete by devid")
Signed-off-by: Dmitry V. Levin <ldv@altlinux.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 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] uapi: use __u64 instead of u64
  2016-05-30 15:29 [PATCH] uapi: use __u64 instead of u64 Dmitry V. Levin
@ 2016-05-31 19:47 ` David Sterba
  0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2016-05-31 19:47 UTC (permalink / raw)
  To: Dmitry V. Levin; +Cc: Chris Mason, Anand Jain, Jeff Mahoney, linux-kernel

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 <ldv@altlinux.org>

Thanks, a fix was sent a few days earlier

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-31 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-30 15:29 [PATCH] uapi: use __u64 instead of u64 Dmitry V. Levin
2016-05-31 19:47 ` David Sterba

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).