rocket.c: fix unchecked mutex_lock_interruptible()
authorSatyam Sharma <[email protected]>
Mon, 16 Jul 2007 06:40:07 +0000 (23:40 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Cc: Jiri Slaby <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/char/rocket.c