Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29734
b: refs/heads/master
c: 4ad3bcf
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Jun 25, 2006
1 parent 26c0917 commit add0346
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: 21730eed11de42f22afcbd43f450a1872a0b5ea1
refs/heads/master: 4ad3bcf3146aa12f41262bb5dd1d9f1778e085b1
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 */
__be32 magic;
__be32 type; /* == READ || == WRITE */
char handle[8];
__u64 from;
__u32 len;
__be64 from;
__be32 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 */
__be32 magic;
__be32 error; /* 0 = ok, else error */
char handle[8]; /* handle you got from request */
};
#endif

0 comments on commit add0346

Please sign in to comment.