|
@@ -1732,7 +1732,7 @@ isdn_open(struct inode *ino, struct file *filep)
|
|
int chidx;
|
|
int chidx;
|
|
int retval = -ENODEV;
|
|
int retval = -ENODEV;
|
|
|
|
|
|
-
|
|
|
|
|
|
+ lock_kernel();
|
|
if (minor == ISDN_MINOR_STATUS) {
|
|
if (minor == ISDN_MINOR_STATUS) {
|
|
infostruct *p;
|
|
infostruct *p;
|
|
|
|
|
|
@@ -1783,6 +1783,7 @@ isdn_open(struct inode *ino, struct file *filep)
|
|
#endif
|
|
#endif
|
|
out:
|
|
out:
|
|
nonseekable_open(ino, filep);
|
|
nonseekable_open(ino, filep);
|
|
|
|
+ unlock_kernel();
|
|
return retval;
|
|
return retval;
|
|
}
|
|
}
|
|
|
|
|