staging: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
9bec8a7401
commit
bae301d346
@ -86,7 +86,7 @@ static const struct file_operations comedi_proc_fops = {
|
||||
.open = comedi_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
void comedi_proc_init(void)
|
||||
|
@ -95,7 +95,7 @@ static const struct file_operations uf_proc_fops = {
|
||||
.open = uf_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
#endif /* CONFIG_PROC_FS */
|
||||
|
@ -189,7 +189,7 @@ static const struct file_operations sbecom_proc_fops = {
|
||||
.open = sbecom_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -158,7 +158,7 @@ static const struct file_operations ft1000_proc_fops = {
|
||||
.open = ft1000_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
static int ft1000NotifyProc(struct notifier_block *this, unsigned long event,
|
||||
|
@ -160,7 +160,7 @@ static const struct file_operations ft1000_proc_fops = {
|
||||
.open = ft1000_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
static int
|
||||
|
@ -306,7 +306,7 @@ static const struct file_operations rtl8180_proc_fops = {
|
||||
.open = rtl8180_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -647,7 +647,7 @@ static const struct file_operations rtl8192_proc_fops = {
|
||||
.open = rtl8192_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -160,7 +160,7 @@ static const struct file_operations scull_read_procmem_fops = {
|
||||
.open = scull_read_procmem_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
#endif /* SCULL_USE_PROC */
|
||||
|
Loading…
Reference in New Issue
Block a user