diff options
author | Dan Carpenter <error27@gmail.com> | 2009-03-27 06:28:48 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2009-03-27 12:59:09 -0400 |
commit | 996ff68d8b358885c1de82a45517c607999947c7 (patch) | |
tree | a0b9522b58fc839d68d42104542a9e0b8aafdb37 /drivers/char/raw.c | |
parent | 60aa49243d09afc873f082567d2e3c16634ced84 (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/raw.c')
-rw-r--r-- | drivers/char/raw.c | 1 |
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); |
91 | out: | 91 | out: |
92 | mutex_unlock(&raw_mutex); | 92 | mutex_unlock(&raw_mutex); |
93 | unlock_kernel(); | ||
93 | return err; | 94 | return err; |
94 | } | 95 | } |
95 | 96 | ||