diff options
author | Dan Carpenter <error27@gmail.com> | 2009-03-30 18:50:16 +0000 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2009-04-02 13:55:18 -0700 |
commit | ce6d13d7f44cb05c007ed804c0c20cfda9d2f94a (patch) | |
tree | 696d2b1643557b8efced17c484ac032d066fb6fb | |
parent | 84a31107de6deee382e98b911e0fc7263427a7a8 (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>
-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 96adf28a17e..20d90e6a6e5 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; } |