Merge branch 'md-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md...
[linux-block.git] / net / ceph / buffer.c
index 5622763ad4027b84aaed90be96664d2d1550e008..7e51f128045d3e9bda90d3b641c75c1d0331e109 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <linux/ceph/buffer.h>
 #include <linux/ceph/decode.h>
-#include <linux/ceph/libceph.h> /* for ceph_kvmalloc */
+#include <linux/ceph/libceph.h> /* for kvmalloc */
 
 struct ceph_buffer *ceph_buffer_new(size_t len, gfp_t gfp)
 {
@@ -17,7 +17,7 @@ struct ceph_buffer *ceph_buffer_new(size_t len, gfp_t gfp)
        if (!b)
                return NULL;
 
-       b->vec.iov_base = ceph_kvmalloc(len, gfp);
+       b->vec.iov_base = kvmalloc(len, gfp);
        if (!b->vec.iov_base) {
                kfree(b);
                return NULL;