|
@@ -401,7 +401,7 @@ static int recent_seq_open(struct inode *inode, struct file *file)
|
|
|
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;
|