The patch titled Subject: TTY: serial, fix locking imbalance has been removed from the -mm tree. Its filename was tty-serial-fix-locking-imbalance.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Jiri Slaby <jslaby@xxxxxxx> Subject: TTY: serial, fix locking imbalance linux-next commit "TTY: serial, move locking in uart_close" moved the lock, but omitted to update branches which unlock the lock. Now they try to unlock the lock without holding it. Signed-off-by: Jiri Slaby <jslaby@xxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/tty/serial/serial_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff -puN drivers/tty/serial/serial_core.c~tty-serial-fix-locking-imbalance drivers/tty/serial/serial_core.c --- a/drivers/tty/serial/serial_core.c~tty-serial-fix-locking-imbalance +++ a/drivers/tty/serial/serial_core.c @@ -1262,7 +1262,7 @@ static void uart_close(struct tty_struct if (tty_hung_up_p(filp)) { spin_unlock_irqrestore(&port->lock, flags); - goto done; + return; } if ((tty->count == 1) && (port->count != 1)) { @@ -1284,7 +1284,7 @@ static void uart_close(struct tty_struct } if (port->count) { spin_unlock_irqrestore(&port->lock, flags); - goto done; + return; } /* @@ -1347,7 +1347,6 @@ static void uart_close(struct tty_struct wake_up_interruptible(&port->open_wait); wake_up_interruptible(&port->close_wait); -done: mutex_unlock(&port->mutex); } _ Patches currently in -mm which might be from jslaby@xxxxxxx are linux-next.patch leds-route-kbd-leds-through-the-generic-leds-layer.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html