From: Al Viro Date: Sun, 5 May 2013 04:15:15 +0000 (-0400) Subject: megaraid: single_open() leak X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9bec8a7401841be71b9bbd4110edf9da4cb5f39d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git megaraid: single_open() leak Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- 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, }; /*