diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:15:15 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:15:15 -0400 |
commit | 9bec8a7401841be71b9bbd4110edf9da4cb5f39d (patch) | |
tree | 8cb4dfa9d6435ebc4ac5c2d9ea77fe077de3f0c3 /drivers/scsi/megaraid.c | |
parent | bc3041f055c228ec8347580d95cb2b344b503dcb (diff) | |
download | blackbird-op-linux-9bec8a7401841be71b9bbd4110edf9da4cb5f39d.tar.gz blackbird-op-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/scsi/megaraid.c')
-rw-r--r-- | drivers/scsi/megaraid.c | 2 |
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, }; /* |