From: Hans Verkuil Date: Sat, 12 Mar 2011 09:39:44 +0000 (-0300) Subject: [media] ivtv: add missing v4l2_fh_exit X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6aff72f6d511bcadbc71358ed17bc87edbf90716;p=linux-beck.git [media] ivtv: add missing v4l2_fh_exit Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/ivtv/ivtv-fileops.c b/drivers/media/video/ivtv/ivtv-fileops.c index 4463bf4ec4ee..a7f54b010a5c 100644 --- a/drivers/media/video/ivtv/ivtv-fileops.c +++ b/drivers/media/video/ivtv/ivtv-fileops.c @@ -980,6 +980,7 @@ static int ivtv_serialized_open(struct ivtv_stream *s, struct file *filp) /* Try to claim this stream */ if (ivtv_claim_stream(item, item->type)) { /* No, it's already in use */ + v4l2_fh_exit(&item->fh); kfree(item); return -EBUSY; }