projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21b667f
)
ceph: update for removal of kref_set
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Wed, 17 Mar 2010 15:53:04 +0000
(08:53 -0700)
committer
Sage Weil
<sage@newdream.net>
Mon, 17 May 2010 22:25:12 +0000
(15:25 -0700)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/msgpool.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/msgpool.c
b/fs/ceph/msgpool.c
index ca3b44a89f2d3e2a3eaaaeb99d263ce5b62353fd..030297f62fb780709d489a74dcb48bdcdec0c2fc 100644
(file)
--- a/
fs/ceph/msgpool.c
+++ b/
fs/ceph/msgpool.c
@@
-170,7
+170,7
@@
void ceph_msgpool_put(struct ceph_msgpool *pool, struct ceph_msg *msg)
msg->front.iov_len = pool->front_len;
msg->hdr.front_len = cpu_to_le32(pool->front_len);
- kref_
set(&msg->kref, 1
); /* retake a single ref */
+ kref_
init(&msg->kref
); /* retake a single ref */
list_add(&msg->list_head, &pool->msgs);
pool->num++;
dout("msgpool_put %p reclaim %p, now %d/%d\n", pool, msg,