rocket.c: fix unchecked mutex_lock_interruptible()
authorSatyam Sharma <satyam.sharma@gmail.com>
Mon, 16 Jul 2007 06:40:07 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:43 +0000 (09:05 -0700)
commit1e3e8d91fee56e1ab598b265466dc38033f1b915
treeb6115a2aa12c650ad8c43b315df9558b3c4ca81b
parent60bfba7e85f88fe834e623ead799cf580de20971
rocket.c: fix unchecked mutex_lock_interruptible()

Check the return of mutex_lock_interruptible() in drivers/char/rocket.c and
return ERESTARTSYS if we were interrupted.

Signed-off-by: Satyam Sharma <satyam.sharma@gmail.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/rocket.c