Make binject.h user space friendly
authorJens Axboe <jaxboe@fusionio.com>
Thu, 7 Oct 2010 13:04:14 +0000 (15:04 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 7 Oct 2010 13:04:14 +0000 (15:04 +0200)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
binject.h

index b3316caec131eb83599f74f5a6c0f58de9731072..1e7382098f9e50d7e9974334857a5309e2431276 100644 (file)
--- a/binject.h
+++ b/binject.h
@@ -7,15 +7,15 @@
 #define BINJECT_VER_MASK       ((1 << BINJECT_MAGIC_SHIFT) - 1)
 
 struct b_user_cmd {
-       u16 magic;      /* INPUT */
-       u16 type;       /* INPUT */
-       u32 error;      /* OUTPUT */
-       u32 flags;      /* INPUT */
-       u32 len;        /* INPUT */
-       u64 offset;     /* INPUT */
-       u64 buf;        /* INPUT */
-       u64 usr_ptr;    /* PASSED THROUGH */
-       u64 nsec;       /* OUTPUT */
+       __u16 magic;    /* INPUT */
+       __u16 type;     /* INPUT */
+       __u32 error;    /* OUTPUT */
+       __u32 flags;    /* INPUT */
+       __u32 len;      /* INPUT */
+       __u64 offset;   /* INPUT */
+       __u64 buf;      /* INPUT */
+       __u64 usr_ptr;  /* PASSED THROUGH */
+       __u64 nsec;     /* OUTPUT */
 };
 
 struct b_ioctl_cmd {