floppy: fix lock imbalance
authorJiri Slaby <jirislaby@gmail.com>
Tue, 30 Jun 2009 18:41:44 +0000 (11:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Jul 2009 01:56:01 +0000 (18:56 -0700)
commit8516a500029890a72622d245f8ed32c4e30969b7
tree8621a8d000d1397006a854c7d9de0d5d46842448
parent9980060bad5607ca6db7fb8683de671b522e56a4
floppy: fix lock imbalance

A crappy macro prevents us unlocking on a fail path.

Expand the macro and unlock appropriatelly.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/floppy.c