summaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v10
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:07:52 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:07:52 -0400
commitf42787dff056eefa64f936ffe9a6836d0301742f (patch)
tree857165337ec8aaee31bb963762b0bb8ef4868625 /arch/cris/arch-v10
parentb11ac20ecab194428deebf31f20c04fad5253628 (diff)
downloadop-kernel-dev-f42787dff056eefa64f936ffe9a6836d0301742f.zip
op-kernel-dev-f42787dff056eefa64f936ffe9a6836d0301742f.tar.gz
cris: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/cris/arch-v10')
-rw-r--r--arch/cris/arch-v10/kernel/fasttimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/cris/arch-v10/kernel/fasttimer.c b/arch/cris/arch-v10/kernel/fasttimer.c
index ce6f512..48a59af 100644
--- a/arch/cris/arch-v10/kernel/fasttimer.c
+++ b/arch/cris/arch-v10/kernel/fasttimer.c
@@ -644,7 +644,7 @@ static const struct file_operations proc_fasttimer_fops = {
.open = proc_fasttimer_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
#endif /* PROC_FS */
OpenPOWER on IntegriCloud