Skip to content

Commit 996ff68

Browse files
error27Jonathan Corbet
authored andcommitted
Add a missing unlock_kernel() in raw_open()
Cc: [email protected] Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
1 parent 60aa492 commit 996ff68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/char/raw.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ static int raw_open(struct inode *inode, struct file *filp)
9090
blkdev_put(bdev, filp->f_mode);
9191
out:
9292
mutex_unlock(&raw_mutex);
93+
unlock_kernel();
9394
return err;
9495
}
9596

0 commit comments

Comments
 (0)