Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bae301d3 authored by Al Viro's avatar Al Viro
Browse files

staging: single_open() leaks



Cc: stable@vger.kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9bec8a74
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ static const struct file_operations comedi_proc_fops = {
	.open		= comedi_proc_open,
	.read		= seq_read,
	.llseek		= seq_lseek,
	.release	= seq_release,
	.release	= single_release,
};

void comedi_proc_init(void)
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ static const struct file_operations uf_proc_fops = {
	.open		= uf_proc_open,
	.read		= seq_read,
	.llseek		= seq_lseek,
	.release	= seq_release,
	.release	= single_release,
};

#endif /* CONFIG_PROC_FS */
+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ static const struct file_operations sbecom_proc_fops = {
	.open		= sbecom_proc_open,
	.read		= seq_read,
	.llseek		= seq_lseek,
	.release	= seq_release,
	.release	= single_release,
};

/*
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ static const struct file_operations ft1000_proc_fops = {
	.open		= ft1000_proc_open,
	.read		= seq_read,
	.llseek		= seq_lseek,
	.release	= seq_release,
	.release	= single_release,
};

static int ft1000NotifyProc(struct notifier_block *this, unsigned long event,
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ static const struct file_operations ft1000_proc_fops = {
	.open		= ft1000_proc_open,
	.read		= seq_read,
	.llseek		= seq_lseek,
	.release	= seq_release,
	.release	= single_release,
};

static int
Loading