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);
|
blkdev_put(bdev, filp->f_mode);
|
||||||
out:
|
out:
|
||||||
mutex_unlock(&raw_mutex);
|
mutex_unlock(&raw_mutex);
|
||||||
|
unlock_kernel();
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user