summaryrefslogtreecommitdiffstats
path: root/drivers/char/efirtc.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 06:12:29 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 06:12:29 +0200
commit2e7718cf7f4111a67f7e74cb66d151345516e37e (patch)
treed9b099a99dedc3a6894f725f0162b8c17ac460f7 /drivers/char/efirtc.c
parentds1620: single_open() leak (diff)
downloadlinux-2e7718cf7f4111a67f7e74cb66d151345516e37e.tar.xz
linux-2e7718cf7f4111a67f7e74cb66d151345516e37e.zip
rtc: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/char/efirtc.c')
-rw-r--r--drivers/char/efirtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/efirtc.c b/drivers/char/efirtc.c
index ea54a6e3f5ad..e39e7402e623 100644
--- a/drivers/char/efirtc.c
+++ b/drivers/char/efirtc.c
@@ -369,7 +369,7 @@ static const struct file_operations efi_rtc_proc_fops = {
.open = efi_rtc_proc_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
static int __init