atm: firestream: fix interruptible_sleep_on race
authorArnd Bergmann <arnd@arndb.de>
Wed, 26 Feb 2014 11:01:51 +0000 (12:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Feb 2014 21:06:12 +0000 (16:06 -0500)
commitc73b1f6a049d3dd0ba9d65da483483515282a5f0
tree1575d4da7534cb10ebb4a6e2efefa536f98577e5
parent53e0b080bce91907fa2cb2118e7ff811998112fc
atm: firestream: fix interruptible_sleep_on race

interruptible_sleep_on is racy and going away. This replaces the one use
in the firestream driver with the appropriate wait_event_interruptible
variant.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Chas Williams <chas@cmf.nrl.navy.mil>
Cc: linux-atm-general@lists.sourceforge.net
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/firestream.c