summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2009-03-30 18:50:16 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2009-05-02 10:23:37 -0700
commit1a2c1f821c51cbd2afd86f752b9bd510607a3695 (patch)
tree74a81522862085938bd46cbc4fe5852679861269
parent080be8b26ef33af424efb9a64c95cd7766cdc114 (diff)
Add a missing unlock_kernel() in raw_open()
upstream commit: 996ff68d8b358885c1de82a45517c607999947c7 Cc: stable@kernel.org Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-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 47b8cf281d4a..92022aab4542 100644
--- a/drivers/char/raw.c
+++ b/drivers/char/raw.c
@@ -90,6 +90,7 @@ out1:
blkdev_put(bdev);
out:
mutex_unlock(&raw_mutex);
+ unlock_kernel();
return err;
}