summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-03-30 11:31:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-03-30 11:31:47 -0700
commit2d25ee36c84d5b2d6be8bfaf80256ecad69a06ca (patch)
tree4e8fff4b3de41cec400385fdadd143c8d5d91904 /drivers/char
parent915db32ddbc967f023fbf7d7f01cca9e05606a9b (diff)
parent4a6a4499693a419a20559c41e33a7bd70bf20a6f (diff)
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 96adf28a17e..20d90e6a6e5 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;
}