From: Josef Sipek Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton --- net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +- net/ipv4/netfilter/ipt_recent.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN net/ipv4/netfilter/ipt_CLUSTERIP.c~struct-path-convert-netfilter net/ipv4/netfilter/ipt_CLUSTERIP.c --- a/net/ipv4/netfilter/ipt_CLUSTERIP.c~struct-path-convert-netfilter +++ a/net/ipv4/netfilter/ipt_CLUSTERIP.c @@ -680,7 +680,7 @@ static ssize_t clusterip_proc_write(stru { #define PROC_WRITELEN 10 char buffer[PROC_WRITELEN+1]; - struct proc_dir_entry *pde = PDE(file->f_dentry->d_inode); + struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); struct clusterip_config *c = pde->data; unsigned long nodenum; diff -puN net/ipv4/netfilter/ipt_recent.c~struct-path-convert-netfilter net/ipv4/netfilter/ipt_recent.c --- a/net/ipv4/netfilter/ipt_recent.c~struct-path-convert-netfilter +++ a/net/ipv4/netfilter/ipt_recent.c @@ -401,7 +401,7 @@ static int recent_seq_open(struct inode static ssize_t recent_proc_write(struct file *file, const char __user *input, size_t size, loff_t *loff) { - struct proc_dir_entry *pde = PDE(file->f_dentry->d_inode); + struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); struct recent_table *t = pde->data; struct recent_entry *e; char buf[sizeof("+255.255.255.255")], *c = buf; _