Commit 56023a7b authored by David S. Miller's avatar David S. Miller Committed by Linus Torvalds

[PATCH] Missing unlock_kernel() in fs/block_dev.c

parent fce79801
......@@ -567,6 +567,7 @@ static int do_open(struct block_device *bdev, struct inode *inode, struct file *
lock_kernel();
disk = get_gendisk(bdev->bd_dev, &part);
if (!disk) {
unlock_kernel();
bdput(bdev);
return ret;
}
......
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