summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:15:15 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:15:15 -0400
commit9bec8a7401841be71b9bbd4110edf9da4cb5f39d (patch)
tree8cb4dfa9d6435ebc4ac5c2d9ea77fe077de3f0c3 /drivers
parentbc3041f055c228ec8347580d95cb2b344b503dcb (diff)
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,
};
/*