From: Al Viro Date: Fri, 9 Sep 2011 23:14:02 +0000 (-0400) Subject: um: fix races between line_open() and line_config() X-Git-Tag: v3.4-rc1~81^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31efcebb7d7196adcee73027f513d7c0bf572b47;p=pandora-kernel.git um: fix races between line_open() and line_config() Pull parse_chan_pair() call into setup_one_line(), under the mutex. We really don't want open() to succeed before parse_chan_pair() had been done (or after it has failed, BTW). We also want "remove con" to free irqs, etc., same as "config con=none". Signed-off-by: Al Viro Signed-off-by: Richard Weinberger --- Reading git-diff-tree failed