+static
+int lttng_event_release(struct inode *inode, struct file *file)
+{
+ struct ltt_event *event = file->private_data;
+ fput(event->chan->file);
+ return 0;
+}
+
+static const struct file_operations lttng_event_fops = {
+ .release = lttng_event_release,
+}
+