summaryrefslogtreecommitdiffstats
path: root/drivers/char/raw.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2009-03-27 11:28:48 +0100
committerJonathan Corbet <corbet@lwn.net>2009-03-27 17:59:09 +0100
commit996ff68d8b358885c1de82a45517c607999947c7 (patch)
treea0b9522b58fc839d68d42104542a9e0b8aafdb37 /drivers/char/raw.c
parentRationalize fasync return values (diff)
downloadlinux-996ff68d8b358885c1de82a45517c607999947c7.tar.xz
linux-996ff68d8b358885c1de82a45517c607999947c7.zip
Add a missing unlock_kernel() in raw_open()
Cc: stable@kernel.org Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'drivers/char/raw.c')
-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;
}