diff options
Diffstat (limited to 'net/ceph/buffer.c')
-rw-r--r-- | net/ceph/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ceph/buffer.c b/net/ceph/buffer.c index 621b5f65407f..add5f921a0ff 100644 --- a/net/ceph/buffer.c +++ b/net/ceph/buffer.c | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | #include <linux/ceph/buffer.h> | 7 | #include <linux/ceph/buffer.h> |
8 | #include <linux/ceph/decode.h> | 8 | #include <linux/ceph/decode.h> |
9 | #include <linux/ceph/libceph.h> /* for ceph_kv{malloc,free} */ | 9 | #include <linux/ceph/libceph.h> /* for ceph_kvmalloc */ |
10 | 10 | ||
11 | struct ceph_buffer *ceph_buffer_new(size_t len, gfp_t gfp) | 11 | struct ceph_buffer *ceph_buffer_new(size_t len, gfp_t gfp) |
12 | { | 12 | { |
@@ -35,7 +35,7 @@ void ceph_buffer_release(struct kref *kref) | |||
35 | struct ceph_buffer *b = container_of(kref, struct ceph_buffer, kref); | 35 | struct ceph_buffer *b = container_of(kref, struct ceph_buffer, kref); |
36 | 36 | ||
37 | dout("buffer_release %p\n", b); | 37 | dout("buffer_release %p\n", b); |
38 | ceph_kvfree(b->vec.iov_base); | 38 | kvfree(b->vec.iov_base); |
39 | kfree(b); | 39 | kfree(b); |
40 | } | 40 | } |
41 | EXPORT_SYMBOL(ceph_buffer_release); | 41 | EXPORT_SYMBOL(ceph_buffer_release); |