From 65e8bff030ec52f95b088dfc2de920f678856ba3 Mon Sep 17 00:00:00 2001 From: Gerhard Gonter <ggonter@gmail.com> Date: Wed, 27 Apr 2016 18:02:36 +0200 Subject: [PATCH] hacking in old definition for f_dentry from <linux/fs.h> --- jbb_gpl/hook.c | 1 + 1 file changed, 1 insertion(+) diff --git a/jbb_gpl/hook.c b/jbb_gpl/hook.c index cabc49b..b754cbd 100755 --- a/jbb_gpl/hook.c +++ b/jbb_gpl/hook.c @@ -499,6 +499,7 @@ static void unhook_fs(unhook_mode_e cl) { up_write(&hook_sem); } +#define f_dentry f_path.dentry /* formerly in <linux/fs.h> */ static struct file_operations *get_fops(struct file *filp, char *from) { struct file_operations *fops=0; -- GitLab