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
36683770
Commit
36683770
authored
May 14, 2010
by
Sage Weil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ceph: cleanup pool op strings
Signed-off-by:
Sage Weil
<
sage@newdream.net
>
parent
cffe7b6d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
19 deletions
+12
-19
fs/ceph/ceph_strings.c
fs/ceph/ceph_strings.c
+12
-19
No files found.
fs/ceph/ceph_strings.c
View file @
36683770
...
@@ -175,23 +175,16 @@ const char *ceph_snap_op_name(int o)
...
@@ -175,23 +175,16 @@ const char *ceph_snap_op_name(int o)
return
"???"
;
return
"???"
;
}
}
const
char
*
ceph_pool_op_name
(
int
op
)
{
const
char
*
ceph_pool_op_name
(
int
op
)
{
switch
(
op
)
{
switch
(
op
)
{
case
POOL_OP_CREATE
:
case
POOL_OP_CREATE
:
return
"create"
;
return
"create pool"
;
case
POOL_OP_DELETE
:
return
"delete"
;
case
POOL_OP_DELETE
:
case
POOL_OP_AUID_CHANGE
:
return
"auid change"
;
return
"delete pool"
;
case
POOL_OP_CREATE_SNAP
:
return
"create snap"
;
case
POOL_OP_AUID_CHANGE
:
case
POOL_OP_DELETE_SNAP
:
return
"delete snap"
;
return
"change auid"
;
case
POOL_OP_CREATE_UNMANAGED_SNAP
:
return
"create unmanaged snap"
;
case
POOL_OP_CREATE_SNAP
:
case
POOL_OP_DELETE_UNMANAGED_SNAP
:
return
"delete unmanaged snap"
;
return
"create snap"
;
case
POOL_OP_DELETE_SNAP
:
return
"delete snap"
;
case
POOL_OP_CREATE_UNMANAGED_SNAP
:
return
"create unmanaged snap"
;
case
POOL_OP_DELETE_UNMANAGED_SNAP
:
return
"delete unmanaged snap"
;
default:
return
"unknown"
;
}
}
return
"???"
;
}
}
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