diff options
author | Ilya Dryomov <idryomov@redhat.com> | 2014-10-23 14:32:57 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@redhat.com> | 2014-12-17 18:09:50 +0100 |
commit | 4965fc38c460b274b2a1789e1165a25fb0409d7e (patch) | |
tree | 540d27c966a31b6e6f5a21bd44608e3edf3d1646 /net/ceph/messenger.c | |
parent | ceph: fix file lock interruption (diff) | |
download | linux-4965fc38c460b274b2a1789e1165a25fb0409d7e.tar.xz linux-4965fc38c460b274b2a1789e1165a25fb0409d7e.zip |
libceph: nuke ceph_kvfree()
Use kvfree() from linux/mm.h instead, which is identical. Also fix the
ceph_buffer comment: we will allocate with kmalloc() up to 32k - the
value of PAGE_ALLOC_COSTLY_ORDER, but that really is just an
implementation detail so don't mention it at all.
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Diffstat (limited to 'net/ceph/messenger.c')
-rw-r--r-- | net/ceph/messenger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c index 8d1653caffdb..863d07ab2129 100644 --- a/net/ceph/messenger.c +++ b/net/ceph/messenger.c @@ -3288,7 +3288,7 @@ static int ceph_con_in_msg_alloc(struct ceph_connection *con, int *skip) static void ceph_msg_free(struct ceph_msg *m) { dout("%s %p\n", __func__, m); - ceph_kvfree(m->front.iov_base); + kvfree(m->front.iov_base); kmem_cache_free(ceph_msg_cache, m); } |