Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
a1fbb5e7
Commit
a1fbb5e7
authored
Jan 16, 2018
by
Ilya Dryomov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rbd: start enums at 1 instead of 0
Signed-off-by:
Ilya Dryomov
<
idryomov@gmail.com
>
parent
dccbf080
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/block/rbd.c
drivers/block/rbd.c
+4
-2
No files found.
drivers/block/rbd.c
View file @
a1fbb5e7
...
...
@@ -217,12 +217,14 @@ struct rbd_obj_request;
typedef
void
(
*
rbd_obj_callback_t
)(
struct
rbd_obj_request
*
);
enum
obj_request_type
{
OBJ_REQUEST_NODATA
,
OBJ_REQUEST_BIO
,
OBJ_REQUEST_PAGES
OBJ_REQUEST_NODATA
=
1
,
OBJ_REQUEST_BIO
,
OBJ_REQUEST_PAGES
,
};
enum
obj_operation_type
{
OBJ_OP_READ
=
1
,
OBJ_OP_WRITE
,
OBJ_OP_READ
,
OBJ_OP_DISCARD
,
};
...
...
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