summaryrefslogtreecommitdiffstats
path: root/drivers/char/raw.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2009-03-27 13:28:48 +0300
committerJonathan Corbet <corbet@lwn.net>2009-03-27 10:59:09 -0600
commit996ff68d8b358885c1de82a45517c607999947c7 (patch)
treea0b9522b58fc839d68d42104542a9e0b8aafdb37 /drivers/char/raw.c
parent60aa49243d09afc873f082567d2e3c16634ced84 (diff)
downloadlinux-996ff68d8b358885c1de82a45517c607999947c7.tar.gz
linux-996ff68d8b358885c1de82a45517c607999947c7.tar.bz2
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;
}