Commit f42787df authored by Al Viro's avatar Al Viro

cris: single_open() leaks

Cc: stable@vger.kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b11ac20e
...@@ -644,7 +644,7 @@ static const struct file_operations proc_fasttimer_fops = { ...@@ -644,7 +644,7 @@ static const struct file_operations proc_fasttimer_fops = {
.open = proc_fasttimer_open, .open = proc_fasttimer_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
.release = seq_release, .release = single_release,
}; };
#endif /* PROC_FS */ #endif /* PROC_FS */
......
...@@ -616,7 +616,7 @@ static const struct file_operations proc_fasttimer_fops = { ...@@ -616,7 +616,7 @@ static const struct file_operations proc_fasttimer_fops = {
.open = proc_fasttimer_open, .open = proc_fasttimer_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
.release = seq_release, .release = single_release,
}; };
#endif /* PROC_FS */ #endif /* PROC_FS */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment