mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
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>
This commit is contained in:
parent
60aa49243d
commit
996ff68d8b
@ -90,6 +90,7 @@ out1:
|
||||
blkdev_put(bdev, filp->f_mode);
|
||||
out:
|
||||
mutex_unlock(&raw_mutex);
|
||||
unlock_kernel();
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user