summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorLinus Torvalds2009-03-30 20:31:47 +0200
committerLinus Torvalds2009-03-30 20:31:47 +0200
commit2d25ee36c84d5b2d6be8bfaf80256ecad69a06ca (patch)
tree4e8fff4b3de41cec400385fdadd143c8d5d91904 /drivers/char
parentMerge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus (diff)
parentFix a lockdep warning in fasync_helper() (diff)
downloadkernel-qcow2-linux-2d25ee36c84d5b2d6be8bfaf80256ecad69a06ca.tar.gz
kernel-qcow2-linux-2d25ee36c84d5b2d6be8bfaf80256ecad69a06ca.tar.xz
kernel-qcow2-linux-2d25ee36c84d5b2d6be8bfaf80256ecad69a06ca.zip
Merge branch 'bkl-removal' of git://git.lwn.net/linux-2.6
* 'bkl-removal' of git://git.lwn.net/linux-2.6: Fix a lockdep warning in fasync_helper() Add a missing unlock_kernel() in raw_open()
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/raw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/raw.c b/drivers/char/raw.c
index 96adf28a17e4..20d90e6a6e50 100644
--- a/drivers/char/raw.c
+++ b/drivers/char/raw.c
@@ -90,6 +90,7 @@ out1:
blkdev_put(bdev, filp->f_mode);
out:
mutex_unlock(&raw_mutex);
+ unlock_kernel();
return err;
}