--- dir.c	2016-03-31 13:00:04.000000000 +0200
+++ dir_new.c	2017-08-02 18:13:58.207801285 +0200
@@ -29 +29,2 @@
-static int opera_readdir(struct file *f, void *dirent, filldir_t filldir);
+static int opera_readdir(struct file *f, struct dir_context *ctx);
+
@@ -53 +54 @@
-opera_readdir(struct file *file, void *dirent, filldir_t filldir)
+opera_readdir(struct file *file, struct dir_context *ctx)
@@ -58,0 +60,3 @@
+    
+    filldir_t filldir = ctx->actor;
+    void* dirent = ctx;
