diff options
author | Dan Carpenter <error27@gmail.com> | 2009-03-27 11:28:48 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2009-03-27 17:59:09 +0100 |
commit | 996ff68d8b358885c1de82a45517c607999947c7 (patch) | |
tree | a0b9522b58fc839d68d42104542a9e0b8aafdb37 /drivers/char/raw.c | |
parent | Rationalize fasync return values (diff) | |
download | linux-996ff68d8b358885c1de82a45517c607999947c7.tar.xz 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.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: blkdev_put(bdev, filp->f_mode); out: mutex_unlock(&raw_mutex); + unlock_kernel(); return err; } |