From: Dan Carpenter Date: Wed, 11 Jul 2012 06:40:40 +0000 (+0300) Subject: tty: double unlock on error in ptmx_open() X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~170 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79d753209245de3d6f02480535a8f5cf21ad02f7;p=pandora-kernel.git tty: double unlock on error in ptmx_open() The problem here is that we called mutex_unlock(&devpts_mutex) on the error path when we weren't holding the lock. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed