Btrfs: fix CLONE ioctl destination file size expansion to block boundary
[deliverable/linux.git] / kernel / perf_event.c
index 681af806d76b41b38c3f7de775610327ff288ac5..3d1552d3c12b0b632964f0f5b053bbe6a03e72e0 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/smp.h>
 #include <linux/file.h>
 #include <linux/poll.h>
+#include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/dcache.h>
 #include <linux/percpu.h>
@@ -4896,7 +4897,7 @@ err_fput_free_put_context:
 
 err_free_put_context:
        if (err < 0)
-               kfree(event);
+               free_event(event);
 
 err_put_context:
        if (err < 0)
This page took 0.028701 seconds and 5 git commands to generate.