linux-2.6.38-dvb-mutex.patch

Source: http://kipdola.be/subdomain/linux-2.6.38-dvb-mutex.patch - lueddich, 02/26/2012 10:50 pm

Download (588 Bytes)

 
linux-2.6.38/drivers/media/dvb/dvb-core/dvbdev.c
83 83
			file->f_op = old_fops;
84 84
			goto fail;
85 85
		}
86
		if(file->f_op->open)
86
		if(file->f_op->open) {
87
			mutex_unlock(&dvbdev_mutex);
87 88
			err = file->f_op->open(inode,file);
89
			mutex_lock(&dvbdev_mutex);
90
		}
88 91
		if (err) {
89 92
			fops_put(file->f_op);
90 93
			file->f_op = fops_get(old_fops);
91
-