Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27996
b: refs/heads/master
c: 90abbae
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse committed May 4, 2006
1 parent ebe3889 commit 42fe04b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e1515df578e4665b77d1e0eec3c8b041d159b23
refs/heads/master: 90abbae2d35b3dc55fd39f8ab04acaf3da5cdc0a
12 changes: 6 additions & 6 deletions trunk/include/linux/nbd.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ struct nbd_device {
* server. All data are in network byte order.
*/
struct nbd_request {
u32 magic;
u32 type; /* == READ || == WRITE */
__u32 magic;
__u32 type; /* == READ || == WRITE */
char handle[8];
u64 from;
u32 len;
__u64 from;
__u32 len;
}
#ifdef __GNUC__
__attribute__ ((packed))
Expand All @@ -93,8 +93,8 @@ struct nbd_request {
* it has completed an I/O request (or an error occurs).
*/
struct nbd_reply {
u32 magic;
u32 error; /* 0 = ok, else error */
__u32 magic;
__u32 error; /* 0 = ok, else error */
char handle[8]; /* handle you got from request */
};
#endif

0 comments on commit 42fe04b

Please sign in to comment.