Commit 996ff68d authored by Dan Carpenter's avatar Dan Carpenter Committed by Jonathan Corbet

Add a missing unlock_kernel() in raw_open()

Cc: stable@kernel.org
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 60aa4924
......@@ -90,6 +90,7 @@ out1:
blkdev_put(bdev, filp->f_mode);
out:
mutex_unlock(&raw_mutex);
unlock_kernel();
return err;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment