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
Kirill Smelkov
linux
Commits
f646912d
Commit
f646912d
authored
Dec 22, 2014
by
Ilya Dryomov
Committed by
Ilya Dryomov
Feb 19, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libceph: use mon_client.c/put_generic_request() more
Signed-off-by:
Ilya Dryomov
<
idryomov@redhat.com
>
parent
7a6fdeb2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
net/ceph/mon_client.c
net/ceph/mon_client.c
+2
-2
No files found.
net/ceph/mon_client.c
View file @
f646912d
...
@@ -610,7 +610,7 @@ int ceph_monc_do_statfs(struct ceph_mon_client *monc, struct ceph_statfs *buf)
...
@@ -610,7 +610,7 @@ int ceph_monc_do_statfs(struct ceph_mon_client *monc, struct ceph_statfs *buf)
err
=
do_generic_request
(
monc
,
req
);
err
=
do_generic_request
(
monc
,
req
);
out:
out:
kref_put
(
&
req
->
kref
,
release_generic_request
);
put_generic_request
(
req
);
return
err
;
return
err
;
}
}
EXPORT_SYMBOL
(
ceph_monc_do_statfs
);
EXPORT_SYMBOL
(
ceph_monc_do_statfs
);
...
@@ -699,7 +699,7 @@ int ceph_monc_do_get_version(struct ceph_mon_client *monc, const char *what,
...
@@ -699,7 +699,7 @@ int ceph_monc_do_get_version(struct ceph_mon_client *monc, const char *what,
mutex_unlock
(
&
monc
->
mutex
);
mutex_unlock
(
&
monc
->
mutex
);
out:
out:
kref_put
(
&
req
->
kref
,
release_generic_request
);
put_generic_request
(
req
);
return
err
;
return
err
;
}
}
EXPORT_SYMBOL
(
ceph_monc_do_get_version
);
EXPORT_SYMBOL
(
ceph_monc_do_get_version
);
...
...
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