rfkill: use killable locks instead of interruptible
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 9 Oct 2008 21:15:29 +0000 (18:15 -0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:08 +0000 (19:00 -0400)
commitcf4b4aab552f5f658ed400dd0cd41f9ac8aac7c1
treeae4d83e4d7b1f2ec868c46e37578128502aadec2
parente8975581f63870be42ff4662b293d1b0c8c21350
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/rfkill/rfkill.c