wireless: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
9b3a0a6f8c
commit
bc3041f055
|
@ -1502,7 +1502,7 @@ static const struct file_operations atmel_proc_fops = {
|
|||
.open = atmel_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
static const struct net_device_ops atmel_netdev_ops = {
|
||||
|
|
|
@ -89,7 +89,7 @@ static const struct file_operations ap_debug_proc_fops = {
|
|||
.open = ap_debug_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
#endif /* PRISM2_NO_PROCFS_DEBUG */
|
||||
|
||||
|
@ -1116,7 +1116,7 @@ static const struct file_operations prism2_sta_proc_fops = {
|
|||
.open = prism2_sta_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
static void handle_add_proc_queue(struct work_struct *work)
|
||||
|
|
|
@ -2957,7 +2957,7 @@ static const struct file_operations prism2_registers_proc_fops = {
|
|||
.open = prism2_registers_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
#endif /* PRISM2_NO_PROCFS_DEBUG */
|
||||
|
|
|
@ -52,7 +52,7 @@ static const struct file_operations prism2_debug_proc_fops = {
|
|||
.open = prism2_debug_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
#endif /* PRISM2_NO_PROCFS_DEBUG */
|
||||
|
||||
|
@ -103,7 +103,7 @@ static const struct file_operations prism2_stats_proc_fops = {
|
|||
.open = prism2_stats_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
|
||||
|
@ -265,7 +265,7 @@ static const struct file_operations prism2_crypt_proc_fops = {
|
|||
.open = prism2_crypt_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue