cdrom_open() forgets to unlock on -EROFS failure exits
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 26 Sep 2007 06:20:44 +0000 (08:20 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 26 Sep 2007 06:20:44 +0000 (08:20 +0200)
commitae3ba4fd966e38d8d766d19f7a58b551df8ecc97
tree8baa44d37bd837cea560b3fdd25476f9618e0f8e
parent4942de4a0e914f205d351a81873f4f63986bcc3c
cdrom_open() forgets to unlock on -EROFS failure exits

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/cdrom/cdrom.c