diff --git a/jbb_gpl/hook.c b/jbb_gpl/hook.c index cabc49bf33743aff172aa3e75a6bc93c8f18f04e..b754cbdee58b7f6e5c91273b55a4eaa74ce87d00 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;