diff options
author | Jonathan Corbet <corbet@lwn.net> | 2008-05-15 22:16:28 (GMT) |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2008-06-20 20:05:49 (GMT) |
commit | 1bcaa0bd6fd5b510dd9f1ba2da114d3f1253af61 (patch) | |
tree | 1fc91517faba8e3a05dd11b743f5bdce5bf2f37f /drivers | |
parent | 46787b481be00d5443d385480d12470728406cf4 (diff) | |
download | linux-1bcaa0bd6fd5b510dd9f1ba2da114d3f1253af61.tar.xz |
isdn: cdev lock_kernel() pushdown
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/i4l/isdn_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l/isdn_common.c index 0f3c66d..5158c60 100644 --- a/drivers/isdn/i4l/isdn_common.c +++ b/drivers/isdn/i4l/isdn_common.c @@ -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; } |