]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Add a missing unlock_kernel() in raw_open()
authorDan Carpenter <error27@gmail.com>
Fri, 27 Mar 2009 10:28:48 +0000 (13:28 +0300)
committerJonathan Corbet <corbet@lwn.net>
Fri, 27 Mar 2009 16:59:09 +0000 (10:59 -0600)
Cc: stable@kernel.org
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
drivers/char/raw.c

index 96adf28a17e43b309d8af6858d695015c84cc6d1..20d90e6a6e50fb41dfdd2601b1ae6617c40a6070 100644 (file)
@@ -90,6 +90,7 @@ out1:
        blkdev_put(bdev, filp->f_mode);
 out:
        mutex_unlock(&raw_mutex);
+       unlock_kernel();
        return err;
 }