patch-2.4.10 linux/drivers/media/video/videodev.c
Next file: linux/drivers/media/video/vino.h
Previous file: linux/drivers/media/video/saa7185.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Tue Aug 28 07:00:58 2001
- Orig file:
v2.4.9/linux/drivers/media/video/videodev.c
- Orig date:
Mon Aug 27 12:41:42 2001
diff -u --recursive --new-file v2.4.9/linux/drivers/media/video/videodev.c linux/drivers/media/video/videodev.c
@@ -164,7 +164,6 @@
if(vfl->owner)
__MOD_INC_USE_COUNT(vfl->owner);
- unlock_kernel();
if(vfl->open)
{
@@ -175,9 +174,11 @@
if(vfl->owner)
__MOD_DEC_USE_COUNT(vfl->owner);
+ unlock_kernel();
return err;
}
}
+ unlock_kernel();
return 0;
error_out:
unlock_kernel();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)