Browse Source

sh: single_open() leaks

Cc: vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 12 years ago
parent
commit
c39b9fd728
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/sh/drivers/dma/dma-api.c

+ 1 - 1
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)