From c39b9fd728d8173ecda993524089fbc38211a17f Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 5 May 2013 00:11:01 -0400 Subject: sh: single_open() leaks Cc: vger.kernel.org Signed-off-by: Al Viro --- arch/sh/drivers/dma/dma-api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/sh/drivers') diff --git a/arch/sh/drivers/dma/dma-api.c b/arch/sh/drivers/dma/dma-api.c index 851e510..c0eec08 100644 --- a/arch/sh/drivers/dma/dma-api.c +++ b/arch/sh/drivers/dma/dma-api.c @@ -348,7 +348,7 @@ static const struct file_operations dma_proc_fops = { .open = dma_proc_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; int register_dmac(struct dma_info *info) -- cgit v1.1