]> err.no Git - linux-2.6/commit
V4L/DVB (6307): V4L: w9968cf, remove bad usage of ERESTARTSYS
authorJiri Slaby <jirislaby@gmail.com>
Wed, 10 Oct 2007 01:03:12 +0000 (22:03 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 03:03:25 +0000 (00:03 -0300)
commit3abff557d5eed7d6fd03aa11353a1c0f329cac2b
tree6e0678710a07e4f1a28de97664de7319620d68a8
parentacd827d63a568a2cfa26ae8e6093b098c91c631b
V4L/DVB (6307): V4L: w9968cf, remove bad usage of ERESTARTSYS

w9968cf, remove bad usage of ERESTARTSYS

down_read_trylock can't be interrupted and so ERESTARTSYS would reach
userspace, which is not permitted. Change it to EAGAIN

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/w9968cf.c