summaryrefslogtreecommitdiffstats
path: root/arch/mips/sibyte
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:09:30 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:10:21 -0400
commitacf300dd8708cb063244bd8b5838ea0cd7e42cc3 (patch)
tree489fb3ba2832af76946a2e75abb53f91bd461439 /arch/mips/sibyte
parent75401461610bf5fad0347bbd8cf7514a1f3b0cd4 (diff)
mips: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips/sibyte')
-rw-r--r--arch/mips/sibyte/sb1250/bus_watcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sibyte/sb1250/bus_watcher.c b/arch/mips/sibyte/sb1250/bus_watcher.c
index cb1e3cb37d7..8871e3345bf 100644
--- a/arch/mips/sibyte/sb1250/bus_watcher.c
+++ b/arch/mips/sibyte/sb1250/bus_watcher.c
@@ -145,7 +145,7 @@ static const struct file_operations bw_proc_fops = {
.open = bw_proc_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
static void create_proc_decoder(struct bw_stats_struct *stats)