mirror of
https://github.com/torvalds/linux.git
synced 2024-09-22 07:53:05 +00:00
[PATCH] struct path: convert netfilter
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
3126a42c4d
commit
6df81ab227
|
@ -683,7 +683,7 @@ static ssize_t clusterip_proc_write(struct file *file, const char __user *input,
|
||||||
{
|
{
|
||||||
#define PROC_WRITELEN 10
|
#define PROC_WRITELEN 10
|
||||||
char buffer[PROC_WRITELEN+1];
|
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;
|
struct clusterip_config *c = pde->data;
|
||||||
unsigned long nodenum;
|
unsigned long nodenum;
|
||||||
|
|
||||||
|
|
|
@ -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,
|
static ssize_t recent_proc_write(struct file *file, const char __user *input,
|
||||||
size_t size, loff_t *loff)
|
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_table *t = pde->data;
|
||||||
struct recent_entry *e;
|
struct recent_entry *e;
|
||||||
char buf[sizeof("+255.255.255.255")], *c = buf;
|
char buf[sizeof("+255.255.255.255")], *c = buf;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user