perf_event: Switch to internal refcount, fix race with close()
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / perf_event.h
index 7602ccb..ad04dfc 100644 (file)
@@ -926,7 +926,7 @@ struct perf_event {
        struct hw_perf_event            hw;
 
        struct perf_event_context       *ctx;
-       struct file                     *filp;
+       atomic_long_t                   refcount;
 
        /*
         * These accumulate total time (in nanoseconds) that children