rfkill: use killable locks instead of interruptible
commitc643f6b23c3e0f46444f3e148be60e80b95d9313
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:21:36 +0000 (13 09:21 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:21:36 +0000 (13 09:21 -0300)
tree1952637f5a19ba900a9c7a79cda857e46b9dcc5b
parent106fdb31c09ffc1d71505745b6b1eb32f7a4a740
rfkill: use killable locks instead of interruptible

Apparently, many applications don't expect to get EAGAIN from fd read/write
operations, since POSIX doesn't mandate it.

Use mutex_lock_killable instead of mutex_lock_interruptible, which won't
cause issues.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Ivo van Doorn <IvDoorn@gmail.com>
net/rfkill/rfkill.c