Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
90abbae2
Commit
90abbae2
authored
May 04, 2006
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use __uXX types in user-visible structures in <linux/nbd.h>
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
8e1515df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
include/linux/nbd.h
include/linux/nbd.h
+6
-6
No files found.
include/linux/nbd.h
View file @
90abbae2
...
...
@@ -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
))
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment