From: Dan Carpenter Date: Fri, 27 Mar 2009 10:28:48 +0000 (+0300) Subject: Add a missing unlock_kernel() in raw_open() X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=996ff68d8b358885c1de82a45517c607999947c7;p=linux-2.6-omap-h63xx.git Add a missing unlock_kernel() in raw_open() Cc: stable@kernel.org Signed-off-by: Dan Carpenter Signed-off-by: Jonathan Corbet --- 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; }