aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2009-03-27 06:28:48 -0400
committerJonathan Corbet <corbet@lwn.net>2009-03-27 12:59:09 -0400
commit996ff68d8b358885c1de82a45517c607999947c7 (patch)
treea0b9522b58fc839d68d42104542a9e0b8aafdb37 /drivers/char
parent60aa49243d09afc873f082567d2e3c16634ced84 (diff)
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')
-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:
90 blkdev_put(bdev, filp->f_mode); 90 blkdev_put(bdev, filp->f_mode);
91out: 91out:
92 mutex_unlock(&raw_mutex); 92 mutex_unlock(&raw_mutex);
93 unlock_kernel();
93 return err; 94 return err;
94} 95}
95 96