staging: single_open() leaks
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 5 May 2013 04:15:43 +0000 (00:15 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 5 May 2013 04:15:43 +0000 (00:15 -0400)
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/comedi/proc.c
drivers/staging/csr/io.c
drivers/staging/cxt1e1/sbeproc.c
drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c
drivers/staging/ft1000/ft1000-usb/ft1000_proc.c
drivers/staging/rtl8187se/r8180_core.c
drivers/staging/rtl8192u/r8192U_core.c
drivers/staging/wlags49_h2/wl_main.c

index db790f9fc9db9289c1530c9f5227037bbca0c9d5..886c202de9ab4784e6af2a80c9516cf20f65298b 100644 (file)
@@ -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)
index f9b5c22c00b86660a193bea8528339f5f246d5f7..fe4a7ba2acc95fec9d520053476366d99a654ab0 100644 (file)
@@ -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 */
index 49f10f0b7d29090129e40c71133b446163a0b192..9361dd8ce1255b6d7a4afa356bd477b219774296 100644 (file)
@@ -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,
 };
 
 /*
index 21b369e0150f327b639b4d56f9165f83c675b650..94e426e4d98b0177b72065bf630c4eae1b490925 100644 (file)
@@ -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,
index d8294d6c9560a2127f5c7332015476e9055f1500..eca6f0292b4bcc9d2c9829cff401d5e0bd645ab8 100644 (file)
@@ -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
index f7c1d9905ec6d6a0d5b6545e01683095e1735516..ca691550436a28faf611a91f2a7f421bdfa2da3d 100644 (file)
@@ -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,
 };
 
 /*
index 14592339755618195b04cef0bb45f9c810a29e1f..71f5cde9ed1c1ae775f993917662f81bdb1b1c19 100644 (file)
@@ -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,
 };
 
 /*
index c4264e8c877d614cc1fa184630effac90fc6d718..f28f15baea96460b11631004a57f22a46e94c5c5 100644 (file)
@@ -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 */