]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/isdn/i4l/isdn_common.c
Merge commit 'v2.6.26' into bkl-removal
[net-next-2.6.git] / drivers / isdn / i4l / isdn_common.c
index 8d8c6b736167c63427e5c013c6ae81aae3744589..7188c59a76ff7eda195059786bd4ea7e48a200f5 100644 (file)
@@ -1732,7 +1732,7 @@ isdn_open(struct inode *ino, struct file *filep)
        int chidx;
        int retval = -ENODEV;
 
-
+       lock_kernel();
        if (minor == ISDN_MINOR_STATUS) {
                infostruct *p;
 
@@ -1783,6 +1783,7 @@ isdn_open(struct inode *ino, struct file *filep)
 #endif
  out:
        nonseekable_open(ino, filep);
+       unlock_kernel();
        return retval;
 }