rfkill: use killable locks instead of interruptible
commitfd08291bdcd8fca95e21149ea8e72cc18027c1ec
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 3 May 2009 01:21:03 +0000 (2 22:21 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 3 May 2009 01:21:03 +0000 (2 22:21 -0300)
tree5dfd2c511c773caa14d210e94dfdf2a5b3fee944
parent5861c853a3f529b9c6a338dd7c4a7afec397ea7a
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