From 9bec8a7401841be71b9bbd4110edf9da4cb5f39d Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 5 May 2013 00:15:15 -0400 Subject: [PATCH] megaraid: single_open() leak Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- drivers/scsi/megaraid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }; /* -- 2.20.1