summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 06:15:15 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 06:15:15 +0200
commit9bec8a7401841be71b9bbd4110edf9da4cb5f39d (patch)
tree8cb4dfa9d6435ebc4ac5c2d9ea77fe077de3f0c3 /drivers
parentwireless: single_open() leaks (diff)
downloadlinux-9bec8a7401841be71b9bbd4110edf9da4cb5f39d.tar.xz
linux-9bec8a7401841be71b9bbd4110edf9da4cb5f39d.zip
megaraid: single_open() leak
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/megaraid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c
index 7373255aa1e8..846f475f62c1 100644
--- a/drivers/scsi/megaraid.c
+++ b/drivers/scsi/megaraid.c
@@ -2770,7 +2770,7 @@ static const struct file_operations mega_proc_fops = {
.open = mega_proc_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
/*