mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
um: deadlock in line_write_interrupt()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
64405360ce
commit
199eebbae4
1 changed files with 1 additions and 0 deletions
|
@ -344,6 +344,7 @@ static irqreturn_t line_write_interrupt(int irq, void *data)
|
|||
spin_lock(&line->lock);
|
||||
err = flush_buffer(line);
|
||||
if (err == 0) {
|
||||
spin_unlock(&line->lock);
|
||||
return IRQ_NONE;
|
||||
} else if (err < 0) {
|
||||
line->head = line->buffer;
|
||||
|
|
Loading…
Reference in a new issue